Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.4 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 185.4 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 43.53 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.107, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002895/0.1099, allocations: 1.657 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.1109, allocations: 0.5696 MB / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.1109, allocations: 4 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.111, allocations: 11.86 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.1111, allocations: 27.73 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1113, allocations: 55.88 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1115, allocations: 95.77 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1117, allocations: 43.94 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1118, allocations: 47.78 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1119, allocations: 47.77 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1119, allocations: 12 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.1119, allocations: 12 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.112, allocations: 23.92 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1121, allocations: 43.73 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1122, allocations: 111.5 kB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1122, allocations: 0 / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1122, allocations: 0 / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1123, allocations: 0 / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007056/0.113, allocations: 410.5 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.113, allocations: 11.89 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.1131, allocations: 42.73 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1131, allocations: 12.84 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1133, allocations: 204.1 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1134, allocations: 12.36 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.1134, allocations: 16.31 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1136, allocations: 89.78 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1136, allocations: 0 / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1137, allocations: 11.98 kB / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1137, allocations: 0 / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1138, allocations: 47.97 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.1144, allocations: 360.6 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1145, allocations: 58.56 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.1146, allocations: 36.95 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1147, allocations: 7.984 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1149, allocations: 103.2 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.1149, allocations: 0 / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003832/0.1153, allocations: 133.5 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1153, allocations: 51.41 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1155, allocations: 148.1 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1155, allocations: 33.7 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1156, allocations: 104.3 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.1156, allocations: 31.73 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1157, allocations: 25.72 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1159, allocations: 326.8 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.116, allocations: 27.98 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1161, allocations: 83.64 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.1163, allocations: 123.6 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1163, allocations: 3.984 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.1166, allocations: 141.4 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1166, allocations: 4 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1166, allocations: 4 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1167, allocations: 4 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1168, allocations: 19.98 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1168, allocations: 11.88 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.1169, allocations: 7.953 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1169, allocations: 16.2 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.117, allocations: 129.7 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.1171, allocations: 7.953 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1171, allocations: 12.72 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1171, allocations: 0 / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1171, allocations: 3.938 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1171, allocations: 4.359 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1174, allocations: 197.6 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1174, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1175, allocations: 23.92 kB / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1175, allocations: 3.938 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1175, allocations: 0 / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1175, allocations: 0 / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1175, allocations: 7.938 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1178, allocations: 164.9 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.1179, allocations: 89.08 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1179, allocations: 8.062 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.118, allocations: 7.938 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1181, allocations: 11.92 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1181, allocations: 4 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.1182, allocations: 108 kB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1182, allocations: 4 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1184, allocations: 12 kB / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006397/0.119, allocations: 0.7139 MB / 0.4941 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1192, allocations: 75.83 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1193, allocations: 0 / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.1193, allocations: 36.61 kB / 0.4942 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.1195, allocations: 26.88 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1213, allocations: 1.639 MB / 0.4959 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1217, allocations: 0.7002 MB / 0.4966 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.1217, allocations: 12.55 kB / 0.4966 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.1218, allocations: 23.44 kB / 0.4966 GB, free: 2.328 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1218, allocations: 4 kB / 0.4966 GB, free: 2.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.1464, allocations: 2.313 MB / 0.4988 GB, free: 15.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.725, allocations: 7.266 kB / 0.4989 GB, free: 15.99 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches