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.00131/0.00131, allocations: 109 kB / 20.48 MB, free: 1.492 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.001408/0.001408, allocations: 218.1 kB / 23.79 MB, free: 4.707 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.435/1.435, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.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.2274/0.2274, allocations: 44.25 MB / 331.1 MB, free: 9.613 MB / 270.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.002277/0.002277, allocations: 67.91 kB / 468.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.116, allocations: 61.04 MB / 0.5169 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00835/0.1243, allocations: 5.025 MB / 0.5219 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006087/0.1304, allocations: 4.582 MB / 0.5263 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.1307, allocations: 0 / 0.5263 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1311, allocations: 55.59 kB / 0.5264 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.1334, allocations: 0.672 MB / 0.527 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1339, allocations: 167.7 kB / 0.5272 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00073/0.1346, allocations: 374.2 kB / 0.5276 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.1347, allocations: 5.812 kB / 0.5276 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.135, allocations: 159.4 kB / 0.5277 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1353, allocations: 135.4 kB / 0.5278 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1353, allocations: 8 kB / 0.5279 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.1363, allocations: 343.6 kB / 0.5282 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1365, allocations: 47.75 kB / 0.5282 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1366, allocations: 107.5 kB / 0.5283 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1378, allocations: 426.9 kB / 0.5287 GB, free: 11.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1378, allocations: 0 / 0.5287 GB, free: 11.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1378, allocations: 0 / 0.5287 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1378, allocations: 0 / 0.5287 GB, free: 11.2 MB / 414.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.001168/0.139, allocations: 0.513 MB / 0.5292 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.139, allocations: 8.031 kB / 0.5292 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.139, allocations: 12.69 kB / 0.5293 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.1391, allocations: 58.67 kB / 0.5293 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1393, allocations: 32.78 kB / 0.5293 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1396, allocations: 166.2 kB / 0.5295 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.1398, allocations: 226.7 kB / 0.5297 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1398, allocations: 27.94 kB / 0.5297 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.1404, allocations: 334.8 kB / 0.5301 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1404, allocations: 4 kB / 0.5301 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1404, allocations: 15.98 kB / 0.5301 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1404, allocations: 8 kB / 0.5301 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.1414, allocations: 0.7547 MB / 0.5308 GB, free: 8.914 MB / 414.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.001577/0.143, allocations: 1.229 MB / 0.532 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1433, allocations: 142.8 kB / 0.5322 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1435, allocations: 72.33 kB / 0.5322 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.1449, allocations: 0.6595 MB / 0.5329 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.145, allocations: 34.56 kB / 0.5329 GB, free: 6.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.145, allocations: 0 / 0.5329 GB, free: 6.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007087/0.1457, allocations: 221 kB / 0.5331 GB, free: 6.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1458, allocations: 55.41 kB / 0.5332 GB, free: 6.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.146, allocations: 214.8 kB / 0.5334 GB, free: 6.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.146, allocations: 29.7 kB / 0.5334 GB, free: 6.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1462, allocations: 219.5 kB / 0.5336 GB, free: 5.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.1462, allocations: 51.62 kB / 0.5337 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1463, allocations: 82.05 kB / 0.5337 GB, free: 5.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1465, allocations: 330.8 kB / 0.5341 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.1466, allocations: 52.84 kB / 0.5341 GB, free: 5.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1469, allocations: 322.1 kB / 0.5344 GB, free: 4.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1473, allocations: 425.1 kB / 0.5348 GB, free: 4.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1473, allocations: 4 kB / 0.5348 GB, free: 4.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005905/0.1479, allocations: 381.4 kB / 0.5352 GB, free: 3.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1479, allocations: 8 kB / 0.5352 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.148, allocations: 8 kB / 0.5352 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.148, allocations: 19.94 kB / 0.5352 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1483, allocations: 103.8 kB / 0.5353 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.1484, allocations: 19.92 kB / 0.5353 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1486, allocations: 16 kB / 0.5354 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.1486, allocations: 32.34 kB / 0.5354 GB, free: 3.773 MB / 414.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.0001563/0.1488, allocations: 157.5 kB / 0.5355 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.1488, allocations: 23.86 kB / 0.5356 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1492, allocations: 162.8 kB / 0.5357 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.1492, allocations: 4 kB / 0.5357 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1492, allocations: 0 / 0.5357 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1492, allocations: 0 / 0.5357 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.1498, allocations: 406.3 kB / 0.5361 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1498, allocations: 4.062 kB / 0.5361 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.15, allocations: 31.98 kB / 0.5361 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.15, allocations: 4.031 kB / 0.5361 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.15, allocations: 0 / 0.5361 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.15, allocations: 4 kB / 0.5361 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.15, allocations: 0 / 0.5361 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1502, allocations: 229.2 kB / 0.5364 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1503, allocations: 19.89 kB / 0.5364 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.1503, allocations: 15.89 kB / 0.5364 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1505, allocations: 11.98 kB / 0.5364 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1506, allocations: 7.984 kB / 0.5364 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1506, allocations: 8 kB / 0.5364 GB, free: 2.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1507, allocations: 148.5 kB / 0.5366 GB, free: 2.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1507, allocations: 0 / 0.5366 GB, free: 2.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.1512, allocations: 91.94 kB / 0.5367 GB, free: 2.379 MB / 414.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.0007642/0.152, allocations: 0.8224 MB / 0.5375 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1523, allocations: 169.6 kB / 0.5376 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1523, allocations: 0 / 0.5376 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.1523, allocations: 39.92 kB / 0.5377 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1528, allocations: 60.97 kB / 0.5377 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.196/0.3488, allocations: 2.714 MB / 0.5404 GB, free: 27.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.349, allocations: 0.7261 MB / 0.5411 GB, free: 26.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.3492, allocations: 57.52 kB / 0.5411 GB, free: 26.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.3493, allocations: 63.92 kB / 0.5412 GB, free: 26.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3493, allocations: 0 / 0.5412 GB, free: 26.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.375, allocations: 5.977 MB / 0.547 GB, free: 25.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 6.422 kB / 0.547 GB, free: 25.68 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.98046076996252]