Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001156/0.001156, allocations: 106.3 kB / 17.63 MB, free: 5.344 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.001142/0.001142, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1776/0.1776, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 70.19 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006163/0.1095, allocations: 4.527 MB / 473.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.1138, allocations: 4.006 MB / 477.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.114, allocations: 0 / 477.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1144, allocations: 63.58 kB / 478 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1164, allocations: 0.7227 MB / 478.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1168, allocations: 134.6 kB / 478.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.1174, allocations: 370.1 kB / 479.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.1174, allocations: 17.67 kB / 479.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1177, allocations: 143.4 kB / 479.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.118, allocations: 147.5 kB / 479.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.1181, allocations: 8 kB / 479.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1192, allocations: 431.5 kB / 479.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1193, allocations: 47.75 kB / 479.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1195, allocations: 107.5 kB / 480.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1205, allocations: 463.1 kB / 480.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1206, allocations: 4 kB / 480.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1206, allocations: 0 / 480.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1206, allocations: 0 / 480.5 MB, free: 3.051 MB / 350.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.001258/0.1218, allocations: 0.6009 MB / 481.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1219, allocations: 8.031 kB / 481.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.122, allocations: 58.73 kB / 481.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.1222, allocations: 24.73 kB / 481.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1225, allocations: 228 kB / 481.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1226, allocations: 123.9 kB / 481.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.1226, allocations: 28.12 kB / 481.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.1232, allocations: 327.6 kB / 481.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1232, allocations: 0 / 481.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.1233, allocations: 12 kB / 481.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.1233, allocations: 4 kB / 481.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.1242, allocations: 0.7391 MB / 482.6 MB, free: 0.7656 MB / 350.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.001782/0.1259, allocations: 1.304 MB / 483.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.1264, allocations: 159.7 kB / 484.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1265, allocations: 89.47 kB / 484.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/0.1298, allocations: 2.802 MB / 487 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1298, allocations: 38.5 kB / 487 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.1298, allocations: 0 / 487 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003485/0.1302, allocations: 121.2 kB / 487.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1302, allocations: 55.41 kB / 487.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1304, allocations: 223.9 kB / 487.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1305, allocations: 33.69 kB / 487.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1306, allocations: 210.7 kB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1306, allocations: 51.38 kB / 487.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.1307, allocations: 85.94 kB / 487.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1308, allocations: 330.8 kB / 488.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1309, allocations: 44.84 kB / 488.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1312, allocations: 351.2 kB / 488.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.1316, allocations: 440.6 kB / 488.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.1317, allocations: 4 kB / 488.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006118/0.1323, allocations: 385.6 kB / 489.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1323, allocations: 15.98 kB / 489.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.1323, allocations: 11.98 kB / 489.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.1324, allocations: 19.94 kB / 489.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1326, allocations: 91.84 kB / 489.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.78e-05/0.1327, allocations: 27.86 kB / 489.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.133, allocations: 55.44 kB / 489.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.133, allocations: 28 kB / 489.6 MB, free: 8.824 MB / 366.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.0001716/0.1332, allocations: 153.8 kB / 489.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.1333, allocations: 19.81 kB / 489.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.1337, allocations: 148.4 kB / 489.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.1337, allocations: 0 / 489.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1337, allocations: 0 / 489.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1337, allocations: 3.984 kB / 489.9 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.1343, allocations: 412.8 kB / 490.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1343, allocations: 0 / 490.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.1344, allocations: 16 kB / 490.3 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1344, allocations: 4.094 kB / 490.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1344, allocations: 4 kB / 490.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1344, allocations: 0 / 490.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1345, allocations: 7.984 kB / 490.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1347, allocations: 201.7 kB / 490.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.1348, allocations: 100.9 kB / 490.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.1348, allocations: 0 / 490.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.135, allocations: 8 kB / 490.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.135, allocations: 11.92 kB / 490.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.135, allocations: 4 kB / 490.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1352, allocations: 156.5 kB / 490.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1352, allocations: 0 / 490.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.1358, allocations: 91.94 kB / 490.9 MB, free: 7.379 MB / 366.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.0007947/0.1366, allocations: 0.8008 MB / 491.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1369, allocations: 174.1 kB / 491.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.137, allocations: 0 / 491.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.137, allocations: 36.23 kB / 491.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.1375, allocations: 44.83 kB / 491.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.1408, allocations: 2.789 MB / 494.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1412, allocations: 0.7245 MB / 495.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.1415, allocations: 58.91 kB / 495.5 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.1416, allocations: 59.42 kB / 495.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1416, allocations: 0 / 495.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3925/0.5341, allocations: 5.137 MB / 0.489 GB, free: 13.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/9.908, allocations: 16.97 kB / 0.489 GB, free: 13.2 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches