Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.001165/0.001165, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.218/0.218, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB 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.001607/0.001607, allocations: 71.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03391/0.1719, allocations: 26.81 MB / 0.5136 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.1758, allocations: 2.959 MB / 0.5165 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1761, allocations: 0 / 0.5165 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1766, allocations: 51.59 kB / 0.5166 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.179, allocations: 0.7227 MB / 0.5173 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1795, allocations: 139.8 kB / 0.5174 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.1802, allocations: 370.1 kB / 0.5177 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.1802, allocations: 13.69 kB / 0.5178 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3275/0.5077, allocations: 15.46 MB / 0.5329 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.5085, allocations: 151.1 kB / 0.533 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5086, allocations: 7.844 kB / 0.533 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.5195, allocations: 3.435 MB / 0.5364 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.5197, allocations: 47.33 kB / 0.5364 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.52, allocations: 103.9 kB / 0.5365 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.5216, allocations: 479.1 kB / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5216, allocations: 0 / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5216, allocations: 0 / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.5216, allocations: 0 / 0.537 GB, free: 12.14 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.001544/0.5232, allocations: 0.5996 MB / 0.5376 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.5232, allocations: 17.39 kB / 0.5376 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.5234, allocations: 61.23 kB / 0.5376 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.5236, allocations: 25.25 kB / 0.5377 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.5239, allocations: 232.1 kB / 0.5379 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.5241, allocations: 123.3 kB / 0.538 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.5241, allocations: 24.16 kB / 0.538 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.5246, allocations: 327.7 kB / 0.5383 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5247, allocations: 1.969 kB / 0.5383 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.5247, allocations: 10.56 kB / 0.5383 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5247, allocations: 9.203 kB / 0.5383 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.5257, allocations: 0.7373 MB / 0.5391 GB, free: 11.26 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.001519/0.5272, allocations: 1.299 MB / 0.5403 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.5277, allocations: 169.3 kB / 0.5405 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.5279, allocations: 84.97 kB / 0.5406 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002273/0.5301, allocations: 2.808 MB / 0.5433 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5302, allocations: 39.86 kB / 0.5434 GB, free: 7.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.5302, allocations: 1.062 kB / 0.5434 GB, free: 7.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003303/0.5305, allocations: 119.2 kB / 0.5435 GB, free: 7.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.5306, allocations: 53.19 kB / 0.5435 GB, free: 7.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.5308, allocations: 224.6 kB / 0.5437 GB, free: 7.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5308, allocations: 27.59 kB / 0.5438 GB, free: 7.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5309, allocations: 220.7 kB / 0.544 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.531, allocations: 43 kB / 0.544 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.5311, allocations: 93.39 kB / 0.5441 GB, free: 6.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.5311, allocations: 329 kB / 0.5444 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.5312, allocations: 47.2 kB / 0.5445 GB, free: 6.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.5315, allocations: 337.6 kB / 0.5448 GB, free: 6.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.5319, allocations: 451.1 kB / 0.5452 GB, free: 5.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5319, allocations: 6.438 kB / 0.5452 GB, free: 5.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005739/0.5325, allocations: 380.5 kB / 0.5456 GB, free: 5.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5325, allocations: 10.59 kB / 0.5456 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.5325, allocations: 11 kB / 0.5456 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.5325, allocations: 18.44 kB / 0.5456 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.5328, allocations: 101.2 kB / 0.5457 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.5328, allocations: 21.48 kB / 0.5457 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.5331, allocations: 53.75 kB / 0.5458 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.5332, allocations: 28.64 kB / 0.5458 GB, free: 5.621 MB / 414.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.0001395/0.5333, allocations: 150.1 kB / 0.546 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.5334, allocations: 18.09 kB / 0.546 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.5337, allocations: 150.1 kB / 0.5461 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5337, allocations: 1.938 kB / 0.5461 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5337, allocations: 0 / 0.5461 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5337, allocations: 4.984 kB / 0.5461 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.5342, allocations: 412.7 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.5342, allocations: 2.125 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.5343, allocations: 14.94 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5343, allocations: 1.438 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5343, allocations: 5.203 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5343, allocations: 1.594 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5343, allocations: 2.25 kB / 0.5465 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.5345, allocations: 213.5 kB / 0.5468 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.5346, allocations: 95.53 kB / 0.5468 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5346, allocations: 11 kB / 0.5469 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.5348, allocations: 4.297 kB / 0.5469 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.5348, allocations: 6.344 kB / 0.5469 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5349, allocations: 12.23 kB / 0.5469 GB, free: 4.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.535, allocations: 152.1 kB / 0.547 GB, free: 4.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.535, allocations: 1.219 kB / 0.547 GB, free: 4.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.5356, allocations: 97.7 kB / 0.5471 GB, free: 4.734 MB / 414.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.0005302/0.5361, allocations: 0.803 MB / 0.5479 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.5364, allocations: 169.8 kB / 0.5481 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5364, allocations: 0 / 0.5481 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.5365, allocations: 24.75 kB / 0.5481 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.5369, allocations: 44.17 kB / 0.5481 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.5406, allocations: 2.817 MB / 0.5509 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.541, allocations: 0.7246 MB / 0.5516 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.5413, allocations: 56.16 kB / 0.5516 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5415, allocations: 61.94 kB / 0.5517 GB, free: 1.148 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5415, allocations: 1.531 kB / 0.5517 GB, free: 1.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.5676, allocations: 5.282 MB / 0.5569 GB, free: 348 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.248, allocations: 6.406 kB / 0.5569 GB, free: 344 kB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches