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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.561/1.561, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3306/0.3306, allocations: 44.24 MB / 326.5 MB, free: 6.84 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.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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002188/0.002188, allocations: 67.89 kB / 462.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2838, allocations: 60.99 MB / 0.5109 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005182/0.289, allocations: 5.011 MB / 0.5158 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2925, allocations: 4.57 MB / 0.5203 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2926, allocations: 7.938 kB / 0.5203 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.2928, allocations: 55.66 kB / 0.5204 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.2943, allocations: 0.6486 MB / 0.521 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.2946, allocations: 162.5 kB / 0.5211 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.295, allocations: 374.1 kB / 0.5215 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.295, allocations: 9.688 kB / 0.5215 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2952, allocations: 151.4 kB / 0.5216 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2953, allocations: 135.5 kB / 0.5218 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.2954, allocations: 8 kB / 0.5218 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.296, allocations: 339.6 kB / 0.5221 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.2961, allocations: 43.81 kB / 0.5222 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.2962, allocations: 111.5 kB / 0.5223 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.2967, allocations: 421.3 kB / 0.5227 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2967, allocations: 4 kB / 0.5227 GB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2967, allocations: 0 / 0.5227 GB, free: 2.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2967, allocations: 0 / 0.5227 GB, free: 2.953 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.0008488/0.2975, allocations: 0.5883 MB / 0.5232 GB, free: 2.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2976, allocations: 15.89 kB / 0.5233 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.2976, allocations: 62.72 kB / 0.5233 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.2978, allocations: 28.8 kB / 0.5233 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.2981, allocations: 220.1 kB / 0.5236 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.2982, allocations: 123.9 kB / 0.5237 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.2982, allocations: 28.12 kB / 0.5237 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.2986, allocations: 327.6 kB / 0.524 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2986, allocations: 0 / 0.524 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.2986, allocations: 15.94 kB / 0.524 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2986, allocations: 8 kB / 0.524 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.2992, allocations: 0.7352 MB / 0.5247 GB, free: 0.6641 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.001165/0.3003, allocations: 1.25 MB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.3007, allocations: 134.8 kB / 0.5261 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3008, allocations: 72.52 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/0.3035, allocations: 2.663 MB / 0.5288 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3036, allocations: 34.56 kB / 0.5288 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3036, allocations: 4 kB / 0.5288 GB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007083/0.3043, allocations: 225 kB / 0.529 GB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3043, allocations: 55.41 kB / 0.5291 GB, free: 11.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3046, allocations: 211.9 kB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3046, allocations: 33.7 kB / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3048, allocations: 215.5 kB / 0.5295 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.3048, allocations: 59.5 kB / 0.5296 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3049, allocations: 86.03 kB / 0.5296 GB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3051, allocations: 334.8 kB / 0.53 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.3052, allocations: 44.84 kB / 0.53 GB, free: 10.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.3055, allocations: 330.1 kB / 0.5303 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.306, allocations: 421.2 kB / 0.5307 GB, free: 9.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.306, allocations: 4 kB / 0.5307 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005772/0.3066, allocations: 368.9 kB / 0.5311 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.3066, allocations: 20.86 kB / 0.5311 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3066, allocations: 8 kB / 0.5311 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.3067, allocations: 15.94 kB / 0.5311 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3071, allocations: 111.8 kB / 0.5312 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.3071, allocations: 23.91 kB / 0.5313 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3073, allocations: 16 kB / 0.5313 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3074, allocations: 24 kB / 0.5313 GB, free: 8.992 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.0001651/0.3075, allocations: 153.6 kB / 0.5314 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.3076, allocations: 19.86 kB / 0.5315 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.3079, allocations: 154.9 kB / 0.5316 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.3079, allocations: 11.92 kB / 0.5316 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3079, allocations: 0 / 0.5316 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3079, allocations: 0 / 0.5316 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.3085, allocations: 432.3 kB / 0.532 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.3085, allocations: 7.922 kB / 0.532 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3087, allocations: 27.98 kB / 0.5321 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3087, allocations: 4 kB / 0.5321 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3087, allocations: 7.938 kB / 0.5321 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3087, allocations: 0 / 0.5321 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3087, allocations: 4 kB / 0.5321 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.309, allocations: 216.4 kB / 0.5323 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3091, allocations: 108.9 kB / 0.5324 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.3091, allocations: 4.016 kB / 0.5324 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3093, allocations: 12 kB / 0.5324 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.3093, allocations: 7.984 kB / 0.5324 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3093, allocations: 19.92 kB / 0.5324 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3095, allocations: 144.5 kB / 0.5326 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 4 kB / 0.5326 GB, free: 7.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.31, allocations: 99.86 kB / 0.5327 GB, free: 7.465 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.0009221/0.3109, allocations: 0.83 MB / 0.5335 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3113, allocations: 177.7 kB / 0.5336 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3113, allocations: 0 / 0.5336 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.3113, allocations: 35.92 kB / 0.5337 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3118, allocations: 44.91 kB / 0.5337 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.3151, allocations: 2.704 MB / 0.5364 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3155, allocations: 0.7285 MB / 0.5371 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.3158, allocations: 66.8 kB / 0.5371 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3159, allocations: 67.41 kB / 0.5372 GB, free: 2.418 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3159, allocations: 4 kB / 0.5372 GB, free: 2.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3447, allocations: 5.607 MB / 0.5427 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.472, allocations: 8.344 kB / 0.5427 GB, free: 12.79 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.52565427031368]