Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 111.9 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 208.1 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 65.48 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03744/0.3984, allocations: 27.15 MB / 0.5836 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.4022, allocations: 2.979 MB / 0.5865 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4023, allocations: 0 / 0.5865 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.4025, allocations: 51.59 kB / 0.5865 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.4045, allocations: 0.7461 MB / 0.5873 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.4049, allocations: 139.6 kB / 0.5874 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.4055, allocations: 382.1 kB / 0.5878 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.4055, allocations: 9.812 kB / 0.5878 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03593/0.4415, allocations: 15.4 MB / 0.6028 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.4419, allocations: 155.4 kB / 0.603 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.4419, allocations: 8 kB / 0.603 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008601/0.4505, allocations: 3.43 MB / 0.6063 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4506, allocations: 43.81 kB / 0.6064 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.4508, allocations: 111.5 kB / 0.6065 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.4519, allocations: 466.6 kB / 0.6069 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4519, allocations: 0 / 0.6069 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4519, allocations: 0 / 0.6069 GB, free: 4.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4519, allocations: 0 / 0.6069 GB, free: 4.457 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001254/0.4532, allocations: 0.5324 MB / 0.6074 GB, free: 3.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4532, allocations: 8.031 kB / 0.6074 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.271e-05/0.4533, allocations: 58.73 kB / 0.6075 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4534, allocations: 28.8 kB / 0.6075 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4537, allocations: 170.2 kB / 0.6077 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.4539, allocations: 234.6 kB / 0.6079 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.454, allocations: 27.94 kB / 0.6079 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.4545, allocations: 330.8 kB / 0.6083 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4545, allocations: 3.984 kB / 0.6083 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.4546, allocations: 16 kB / 0.6083 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.4546, allocations: 11.98 kB / 0.6083 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.4555, allocations: 0.7586 MB / 0.609 GB, free: 2.156 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.4571, allocations: 1.276 MB / 0.6103 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4574, allocations: 147.8 kB / 0.6104 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4576, allocations: 89.41 kB / 0.6105 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.4592, allocations: 0.7271 MB / 0.6112 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.4592, allocations: 38.55 kB / 0.6112 GB, free: 15.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.4592, allocations: 0 / 0.6112 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002896/0.4595, allocations: 113.5 kB / 0.6114 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4596, allocations: 51.41 kB / 0.6114 GB, free: 15.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.4598, allocations: 230.7 kB / 0.6116 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4598, allocations: 33.64 kB / 0.6117 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.46, allocations: 223.5 kB / 0.6119 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.46, allocations: 47.67 kB / 0.6119 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4601, allocations: 90.02 kB / 0.612 GB, free: 14.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4603, allocations: 330.8 kB / 0.6123 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.4603, allocations: 44.84 kB / 0.6124 GB, free: 14.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.4607, allocations: 343.2 kB / 0.6127 GB, free: 14.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.4612, allocations: 448.6 kB / 0.6131 GB, free: 13.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.4612, allocations: 4 kB / 0.6131 GB, free: 13.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006411/0.4619, allocations: 377.7 kB / 0.6135 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4619, allocations: 12 kB / 0.6135 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4619, allocations: 11.98 kB / 0.6135 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.4619, allocations: 19.98 kB / 0.6135 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4622, allocations: 99.77 kB / 0.6136 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.4622, allocations: 19.94 kB / 0.6136 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.4625, allocations: 59.56 kB / 0.6137 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4625, allocations: 31.98 kB / 0.6137 GB, free: 12.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001493/0.4626, allocations: 149.9 kB / 0.6139 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.4627, allocations: 19.86 kB / 0.6139 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.463, allocations: 148.8 kB / 0.614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.463, allocations: 8 kB / 0.614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.463, allocations: 0 / 0.614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.463, allocations: 0 / 0.614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.4635, allocations: 384 kB / 0.6144 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4635, allocations: 0 / 0.6144 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.4636, allocations: 12 kB / 0.6144 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4636, allocations: 3.984 kB / 0.6144 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4636, allocations: 8.094 kB / 0.6144 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4636, allocations: 0 / 0.6144 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4636, allocations: 0 / 0.6144 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4639, allocations: 209.8 kB / 0.6146 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.4639, allocations: 23.77 kB / 0.6146 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.4639, allocations: 12 kB / 0.6147 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4641, allocations: 4 kB / 0.6147 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.4641, allocations: 8.172 kB / 0.6147 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4641, allocations: 4 kB / 0.6147 GB, free: 11.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.4643, allocations: 160.4 kB / 0.6148 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4643, allocations: 0 / 0.6148 GB, free: 11.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.4648, allocations: 99.81 kB / 0.6149 GB, free: 11.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007696/0.4656, allocations: 0.7928 MB / 0.6157 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.4659, allocations: 166.1 kB / 0.6158 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4659, allocations: 0 / 0.6158 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.4659, allocations: 19.94 kB / 0.6159 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.4663, allocations: 53.08 kB / 0.6159 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.4698, allocations: 2.816 MB / 0.6187 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4702, allocations: 0.7245 MB / 0.6194 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.4704, allocations: 54.91 kB / 0.6194 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.4705, allocations: 59.52 kB / 0.6195 GB, free: 6.375 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4705, allocations: 3.938 kB / 0.6195 GB, free: 6.371 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.5046, allocations: 5.586 MB / 0.6249 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.63, allocations: 4 kB / 0.6249 GB, free: 0.9258 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.706915646791458]