Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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) 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001142, allocations: 199.5 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 226.5 MB / 244.7 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007063/0.0007063, allocations: 94.14 kB / 296.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002069, allocations: 4 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1657, allocations: 51.29 MB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0009124/0.1667, allocations: 1.077 MB / 409.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007162/0.1738, allocations: 11.13 MB / 420.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.1739, allocations: 0 / 420.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.1739, allocations: 0 / 420.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.1758, allocations: 0.8165 MB / 421.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.1767, allocations: 0.5016 MB / 421.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.1768, allocations: 55.72 kB / 421.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.1768, allocations: 4 kB / 421.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.1769, allocations: 23.92 kB / 421.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.1769, allocations: 31.89 kB / 421.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.177, allocations: 8 kB / 421.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.1788, allocations: 1.506 MB / 423.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1788, allocations: 11.97 kB / 423.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1789, allocations: 53.56 kB / 423.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.1796, allocations: 0.7185 MB / 424.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1796, allocations: 4 kB / 424.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1796, allocations: 0 / 424.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1796, allocations: 4 kB / 424.1 MB, free: 11.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004349/0.18, allocations: 0.5263 MB / 424.6 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1801, allocations: 8.031 kB / 424.6 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.1801, allocations: 42.67 kB / 424.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1802, allocations: 12.84 kB / 424.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.1803, allocations: 184.2 kB / 424.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1803, allocations: 4.375 kB / 424.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1803, allocations: 384 / 424.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1804, allocations: 75.27 kB / 424.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1805, allocations: 0 / 424.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1805, allocations: 4 kB / 424.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1805, allocations: 0 / 424.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.1806, allocations: 19.98 kB / 424.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1807, allocations: 174.6 kB / 425.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1809, allocations: 81.12 kB / 425.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.181, allocations: 25.78 kB / 425.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00484/0.1858, allocations: 3.294 MB / 428.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1859, allocations: 34.5 kB / 428.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1859, allocations: 0 / 428.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002278/0.1861, allocations: 81.59 kB / 428.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.1861, allocations: 81.11 kB / 428.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.1862, allocations: 125.7 kB / 428.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.1862, allocations: 29.7 kB / 428.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.1862, allocations: 84.14 kB / 428.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1863, allocations: 23.73 kB / 429 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1863, allocations: 0 / 429 MB, free: 6.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.1863, allocations: 314.8 kB / 429.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.1864, allocations: 12 kB / 429.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.1864, allocations: 29.7 kB / 429.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.1865, allocations: 37.7 kB / 429.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1865, allocations: 0 / 429.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001274/0.1866, allocations: 77.45 kB / 429.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1867, allocations: 8 kB / 429.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1867, allocations: 0 / 429.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1867, allocations: 0 / 429.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.1868, allocations: 11.98 kB / 429.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1868, allocations: 4 kB / 429.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.1868, allocations: 4 kB / 429.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1868, allocations: 4 kB / 429.5 MB, free: 5.488 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * 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 4.385e-05/0.1869, allocations: 117.7 kB / 429.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1869, allocations: 7.938 kB / 429.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.1871, allocations: 105.4 kB / 429.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1871, allocations: 4 kB / 429.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1871, allocations: 0 / 429.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1871, allocations: 0 / 429.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.001e-05/0.1872, allocations: 169.5 kB / 429.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1872, allocations: 7.938 kB / 429.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.1873, allocations: 15.98 kB / 429.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1873, allocations: 3.938 kB / 429.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1873, allocations: 4.562 kB / 429.9 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1873, allocations: 0 / 429.9 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1873, allocations: 0 / 429.9 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1874, allocations: 93.97 kB / 430 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.1875, allocations: 100.9 kB / 430.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1875, allocations: 7.984 kB / 430.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.1876, allocations: 7.984 kB / 430.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1876, allocations: 7.984 kB / 430.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1876, allocations: 4 kB / 430.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.1876, allocations: 91.28 kB / 430.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1877, allocations: 0 / 430.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.1882, allocations: 323.7 kB / 430.5 MB, free: 4.336 MB / 298.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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.00101/0.1892, allocations: 1.113 MB / 431.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1893, allocations: 43.91 kB / 431.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1893, allocations: 0 / 431.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.1894, allocations: 12 kB / 431.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.1896, allocations: 18.38 kB / 431.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.1904, allocations: 0.6692 MB / 432.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.1905, allocations: 0.6897 MB / 433 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1905, allocations: 27.42 kB / 433.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1905, allocations: 0 / 433.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.638/3.828, allocations: 6.08 MB / 439.2 MB, free: 11.56 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches