Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001795/0.001795, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002262/0.002262, allocations: 203.8 kB / 20.79 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3585/0.3585, allocations: 44.23 MB / 327.3 MB, free: 6.703 MB / 254.1 MB " [Timeout remaining time 180] 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.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 67.91 kB / 463 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3438, allocations: 61 MB / 0.5117 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005065/0.3489, allocations: 4.999 MB / 0.5166 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.353, allocations: 4.567 MB / 0.521 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3531, allocations: 3.938 kB / 0.521 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.3535, allocations: 55.66 kB / 0.5211 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.3555, allocations: 0.6649 MB / 0.5217 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3558, allocations: 155.8 kB / 0.5219 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.3562, allocations: 378.1 kB / 0.5222 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.3563, allocations: 9.688 kB / 0.5222 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3565, allocations: 159.4 kB / 0.5224 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3566, allocations: 127.5 kB / 0.5225 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3567, allocations: 8 kB / 0.5225 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.3573, allocations: 343.6 kB / 0.5228 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.3574, allocations: 51.75 kB / 0.5229 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.3575, allocations: 103.5 kB / 0.523 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.358, allocations: 421.3 kB / 0.5234 GB, free: 2.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.358, allocations: 0 / 0.5234 GB, free: 2.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.358, allocations: 0 / 0.5234 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.358, allocations: 4 kB / 0.5234 GB, free: 2.918 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009103/0.3589, allocations: 0.5883 MB / 0.524 GB, free: 2.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.359, allocations: 11.89 kB / 0.524 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.359, allocations: 8.75 kB / 0.524 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.3591, allocations: 58.73 kB / 0.5241 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3592, allocations: 32.78 kB / 0.5241 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3595, allocations: 224.1 kB / 0.5243 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.64e-05/0.3596, allocations: 127.9 kB / 0.5244 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3596, allocations: 27.92 kB / 0.5244 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.36, allocations: 323.7 kB / 0.5248 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.36, allocations: 7.938 kB / 0.5248 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3601, allocations: 4 kB / 0.5248 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.3601, allocations: 8 kB / 0.5248 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3607, allocations: 0.743 MB / 0.5255 GB, free: 0.6172 MB / 382.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.001213/0.3619, allocations: 1.25 MB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.3622, allocations: 138.8 kB / 0.5269 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3623, allocations: 72.58 kB / 0.5269 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002451/0.3648, allocations: 2.659 MB / 0.5295 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3648, allocations: 38.5 kB / 0.5296 GB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3648, allocations: 0 / 0.5296 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006734/0.3655, allocations: 221 kB / 0.5298 GB, free: 11.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3655, allocations: 55.34 kB / 0.5298 GB, free: 11.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.3657, allocations: 215.9 kB / 0.53 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3658, allocations: 25.7 kB / 0.53 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3659, allocations: 223.5 kB / 0.5303 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.366, allocations: 59.55 kB / 0.5303 GB, free: 11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3661, allocations: 86.03 kB / 0.5304 GB, free: 10.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3662, allocations: 322.8 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3663, allocations: 48.84 kB / 0.5308 GB, free: 10.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3666, allocations: 322.1 kB / 0.5311 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.3671, allocations: 429.2 kB / 0.5315 GB, free: 9.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3671, allocations: 7.938 kB / 0.5315 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005587/0.3677, allocations: 369.8 kB / 0.5318 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3677, allocations: 16 kB / 0.5318 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3677, allocations: 8 kB / 0.5319 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.3677, allocations: 15.94 kB / 0.5319 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3681, allocations: 111.8 kB / 0.532 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.3681, allocations: 15.94 kB / 0.532 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3683, allocations: 16 kB / 0.532 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.3683, allocations: 35.92 kB / 0.532 GB, free: 8.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001442/0.3685, allocations: 149.7 kB / 0.5322 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.3685, allocations: 19.86 kB / 0.5322 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.3689, allocations: 162.9 kB / 0.5324 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3689, allocations: 8 kB / 0.5324 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3689, allocations: 0 / 0.5324 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3689, allocations: 0 / 0.5324 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.3695, allocations: 436.2 kB / 0.5328 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3695, allocations: 0 / 0.5328 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3696, allocations: 31.92 kB / 0.5328 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3696, allocations: 4 kB / 0.5328 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3697, allocations: 3.984 kB / 0.5328 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3697, allocations: 0 / 0.5328 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3697, allocations: 4.031 kB / 0.5328 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3699, allocations: 220.3 kB / 0.533 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.37, allocations: 101 kB / 0.5331 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3701, allocations: 7.953 kB / 0.5331 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3702, allocations: 11.98 kB / 0.5331 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3703, allocations: 7.984 kB / 0.5332 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3703, allocations: 8 kB / 0.5332 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3704, allocations: 160.3 kB / 0.5333 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 0.5333 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004816/0.3709, allocations: 99.86 kB / 0.5334 GB, free: 7.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0007488/0.3717, allocations: 0.8223 MB / 0.5342 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.372, allocations: 173.8 kB / 0.5344 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.372, allocations: 4.312 kB / 0.5344 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.3721, allocations: 35.92 kB / 0.5344 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3725, allocations: 52.56 kB / 0.5345 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.3756, allocations: 2.715 MB / 0.5371 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.376, allocations: 0.7245 MB / 0.5378 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3762, allocations: 62.83 kB / 0.5379 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.3763, allocations: 59.42 kB / 0.5379 GB, free: 2.379 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3763, allocations: 0 / 0.5379 GB, free: 2.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.3979, allocations: 5.66 MB / 0.5435 GB, free: 12.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.833, allocations: 8.297 kB / 0.5435 GB, free: 12.71 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.030738867993932]