Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009747/0.0009748, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 226.5 MB / 243.4 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007447, allocations: 94.58 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2858, allocations: 62.96 MB / 0.516 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.01964/0.3055, allocations: 24.89 MB / 0.5403 GB, free: 19.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3076, allocations: 2.737 MB / 0.5429 GB, free: 17.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.3077, allocations: 4 kB / 0.5429 GB, free: 17.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.308, allocations: 42.28 kB / 0.543 GB, free: 17.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.3093, allocations: 0.617 MB / 0.5436 GB, free: 17.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.3096, allocations: 126.7 kB / 0.5437 GB, free: 17.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.31, allocations: 394.1 kB / 0.5441 GB, free: 17.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.31, allocations: 14.38 kB / 0.5441 GB, free: 17.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03675/0.3468, allocations: 22.47 MB / 0.566 GB, free: 6.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3471, allocations: 151.5 kB / 0.5662 GB, free: 5.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3472, allocations: 8 kB / 0.5662 GB, free: 5.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007981/0.3551, allocations: 5.688 MB / 0.5717 GB, free: 304 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3552, allocations: 43.81 kB / 0.5718 GB, free: 260 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3554, allocations: 129.3 kB / 0.5719 GB, free: 124 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.3559, allocations: 323.3 kB / 0.5722 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3559, allocations: 3.938 kB / 0.5722 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3559, allocations: 0 / 0.5722 GB, free: 15.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3559, allocations: 0 / 0.5722 GB, free: 15.8 MB / 394.7 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.0009597/0.3569, allocations: 0.5501 MB / 0.5728 GB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3569, allocations: 12.03 kB / 0.5728 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.357, allocations: 58.73 kB / 0.5728 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3571, allocations: 28.75 kB / 0.5729 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3574, allocations: 224 kB / 0.5731 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3575, allocations: 123.9 kB / 0.5732 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3575, allocations: 23.92 kB / 0.5732 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.358, allocations: 323.6 kB / 0.5735 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.358, allocations: 7.984 kB / 0.5735 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.358, allocations: 8 kB / 0.5735 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.3581, allocations: 8 kB / 0.5735 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3589, allocations: 0.743 MB / 0.5743 GB, free: 13.56 MB / 394.7 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.001265/0.3601, allocations: 1.304 MB / 0.5755 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3604, allocations: 163.7 kB / 0.5757 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3606, allocations: 81.48 kB / 0.5758 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/0.3629, allocations: 2.813 MB / 0.5785 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3629, allocations: 34.56 kB / 0.5785 GB, free: 8.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3629, allocations: 0 / 0.5785 GB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002665/0.3632, allocations: 125.2 kB / 0.5787 GB, free: 8.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3632, allocations: 51.41 kB / 0.5787 GB, free: 8.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3634, allocations: 218 kB / 0.5789 GB, free: 8.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3634, allocations: 29.7 kB / 0.579 GB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3636, allocations: 218.6 kB / 0.5792 GB, free: 7.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3636, allocations: 39.45 kB / 0.5792 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.3636, allocations: 8 kB / 0.5792 GB, free: 7.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3637, allocations: 330.8 kB / 0.5795 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.3638, allocations: 48.78 kB / 0.5796 GB, free: 7.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3641, allocations: 339.2 kB / 0.5799 GB, free: 6.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.3645, allocations: 440.6 kB / 0.5803 GB, free: 6.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3646, allocations: 11.94 kB / 0.5803 GB, free: 6.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005174/0.3651, allocations: 381.8 kB / 0.5807 GB, free: 5.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3651, allocations: 15.92 kB / 0.5807 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3651, allocations: 15.94 kB / 0.5807 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3651, allocations: 12 kB / 0.5807 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3654, allocations: 95.84 kB / 0.5808 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.3654, allocations: 19.92 kB / 0.5808 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3656, allocations: 59.38 kB / 0.5809 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.3657, allocations: 28 kB / 0.5809 GB, free: 5.715 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.3658, allocations: 157.6 kB / 0.5811 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3658, allocations: 15.81 kB / 0.5811 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3661, allocations: 144.9 kB / 0.5812 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3661, allocations: 3.938 kB / 0.5812 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3661, allocations: 4 kB / 0.5812 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3662, allocations: 3.984 kB / 0.5812 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.3666, allocations: 408.8 kB / 0.5816 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3666, allocations: 4 kB / 0.5816 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3667, allocations: 12.06 kB / 0.5816 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3667, allocations: 8.094 kB / 0.5817 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3667, allocations: 0 / 0.5817 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3667, allocations: 11.92 kB / 0.5817 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3667, allocations: 0 / 0.5817 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3669, allocations: 201.7 kB / 0.5819 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.367, allocations: 108.9 kB / 0.582 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.367, allocations: 4 kB / 0.582 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3671, allocations: 0 / 0.582 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.3672, allocations: 11.98 kB / 0.582 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3672, allocations: 4 kB / 0.582 GB, free: 4.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.3673, allocations: 156.5 kB / 0.5821 GB, free: 4.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3673, allocations: 0 / 0.5821 GB, free: 4.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004715/0.3678, allocations: 91.94 kB / 0.5822 GB, free: 4.266 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006804/0.3685, allocations: 0.8044 MB / 0.583 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.3688, allocations: 169.8 kB / 0.5832 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3688, allocations: 0 / 0.5832 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3688, allocations: 28.55 kB / 0.5832 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3693, allocations: 47.58 kB / 0.5832 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.3713, allocations: 1.479 MB / 0.5847 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3716, allocations: 0.7248 MB / 0.5854 GB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.3716, allocations: 71.36 kB / 0.5855 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3717, allocations: 0 / 0.5855 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.228, allocations: 3.668 MB / 0.589 GB, free: 13.01 MB / 410.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches