Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009579/0.0009581, allocations: 91.92 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 197.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002891, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03265/0.1725, allocations: 27.93 MB / 0.4991 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.1761, allocations: 2.971 MB / 0.502 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.1764, allocations: 0 / 0.502 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1767, allocations: 47.72 kB / 0.5021 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.1789, allocations: 0.6492 MB / 0.5027 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.1793, allocations: 134.5 kB / 0.5028 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.1801, allocations: 450 kB / 0.5033 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.1802, allocations: 9.688 kB / 0.5033 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2584/0.4385, allocations: 14.44 MB / 0.5174 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.4389, allocations: 153.7 kB / 0.5175 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.4389, allocations: 6.875 kB / 0.5175 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.4458, allocations: 3.428 MB / 0.5209 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.4459, allocations: 46.62 kB / 0.5209 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.446, allocations: 133.9 kB / 0.521 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000815/0.4469, allocations: 466.5 kB / 0.5215 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4469, allocations: 0.9688 kB / 0.5215 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4469, allocations: 0 / 0.5215 GB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.4469, allocations: 0 / 0.5215 GB, free: 9.957 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.001018/0.4479, allocations: 0.5522 MB / 0.522 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.448, allocations: 13.3 kB / 0.522 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.4481, allocations: 62.12 kB / 0.5221 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4482, allocations: 24.94 kB / 0.5221 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.4484, allocations: 220.9 kB / 0.5223 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/0.4485, allocations: 125.1 kB / 0.5225 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.4485, allocations: 29.53 kB / 0.5225 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.449, allocations: 325 kB / 0.5228 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.449, allocations: 4.188 kB / 0.5228 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.4491, allocations: 13.86 kB / 0.5228 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.4491, allocations: 7.047 kB / 0.5228 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009721/0.4501, allocations: 0.7355 MB / 0.5235 GB, free: 9.078 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.001199/0.4513, allocations: 1.303 MB / 0.5248 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.4516, allocations: 170.3 kB / 0.525 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4518, allocations: 82.94 kB / 0.525 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/0.4536, allocations: 2.81 MB / 0.5278 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.4536, allocations: 35.31 kB / 0.5278 GB, free: 5.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4536, allocations: 0 / 0.5278 GB, free: 5.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002524/0.4539, allocations: 116.5 kB / 0.5279 GB, free: 5.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.4539, allocations: 54.09 kB / 0.528 GB, free: 5.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4541, allocations: 221.6 kB / 0.5282 GB, free: 4.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4541, allocations: 31.05 kB / 0.5282 GB, free: 4.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.4542, allocations: 222.7 kB / 0.5284 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4542, allocations: 41.14 kB / 0.5285 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4543, allocations: 39.48 kB / 0.5285 GB, free: 4.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.4544, allocations: 331.4 kB / 0.5288 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.4544, allocations: 42 kB / 0.5289 GB, free: 4.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4546, allocations: 346.4 kB / 0.5292 GB, free: 3.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.455, allocations: 443.3 kB / 0.5296 GB, free: 3.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.455, allocations: 6.5 kB / 0.5296 GB, free: 3.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005652/0.4556, allocations: 387.6 kB / 0.53 GB, free: 3.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4556, allocations: 9.5 kB / 0.53 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4556, allocations: 10.16 kB / 0.53 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.4557, allocations: 21.31 kB / 0.53 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4559, allocations: 95.33 kB / 0.5301 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.456, allocations: 23.56 kB / 0.5302 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4562, allocations: 52.38 kB / 0.5302 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4562, allocations: 28 kB / 0.5302 GB, free: 3.469 MB / 382.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 9.37e-05/0.4563, allocations: 158.3 kB / 0.5304 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.4564, allocations: 18.75 kB / 0.5304 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.4566, allocations: 149.1 kB / 0.5305 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4566, allocations: 2.484 kB / 0.5305 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4567, allocations: 3.109 kB / 0.5305 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4567, allocations: 1.547 kB / 0.5306 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.457, allocations: 412.7 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.457, allocations: 2.781 kB / 0.5309 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.4571, allocations: 10.97 kB / 0.531 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4571, allocations: 5.562 kB / 0.531 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4571, allocations: 5.438 kB / 0.531 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4571, allocations: 2.375 kB / 0.531 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4571, allocations: 5.062 kB / 0.531 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.4573, allocations: 204.2 kB / 0.5312 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.4573, allocations: 111.2 kB / 0.5313 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4574, allocations: 3.016 kB / 0.5313 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.4575, allocations: 10.25 kB / 0.5313 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.4575, allocations: 6.75 kB / 0.5313 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4576, allocations: 4.156 kB / 0.5313 GB, free: 2.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.4577, allocations: 154.9 kB / 0.5314 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4577, allocations: 0 / 0.5314 GB, free: 2.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004816/0.4582, allocations: 95.86 kB / 0.5315 GB, free: 2.574 MB / 382.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.0004561/0.4586, allocations: 0.802 MB / 0.5323 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.4589, allocations: 173.9 kB / 0.5325 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4589, allocations: 1.906 kB / 0.5325 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.4589, allocations: 22.34 kB / 0.5325 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.4594, allocations: 46.52 kB / 0.5326 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4618, allocations: 2.899 MB / 0.5354 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.462, allocations: 0.7282 MB / 0.5361 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.4623, allocations: 61.78 kB / 0.5362 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.4624, allocations: 61.19 kB / 0.5362 GB, free: 14.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4624, allocations: 1.094 kB / 0.5362 GB, free: 14.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.4786, allocations: 4.911 MB / 0.541 GB, free: 13.2 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.4788, allocations: 216.5 kB / 0.5412 GB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.306, allocations: 3.938 kB / 0.5412 GB, free: 12.95 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches