Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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) 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: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007561/0.0007562, allocations: 89.06 kB / 17.29 MB, free: 6.359 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.0007716/0.0007716, allocations: 174.4 kB / 18.21 MB, free: 5.531 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.318/1.318, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.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.0005274/0.0005275, allocations: 8 kB / 281.4 MB, free: 3.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09078, allocations: 47.59 MB / 329 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001678/0.09252, allocations: 1.078 MB / 330 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1058, allocations: 12.17 MB / 342.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.1059, allocations: 0 / 342.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.106, allocations: 3.938 kB / 342.2 MB, free: 6.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.1085, allocations: 0.852 MB / 343.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.11, allocations: 0.5326 MB / 343.6 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.1101, allocations: 59.77 kB / 343.7 MB, free: 5.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1101, allocations: 4 kB / 343.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.1102, allocations: 27.86 kB / 343.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.1103, allocations: 39.83 kB / 343.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1103, allocations: 0 / 343.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.1129, allocations: 1.569 MB / 345.3 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1129, allocations: 11.94 kB / 345.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1129, allocations: 49.61 kB / 345.4 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.1145, allocations: 1.068 MB / 346.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1145, allocations: 0 / 346.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1145, allocations: 0 / 346.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1145, allocations: 0 / 346.4 MB, free: 2.234 MB / 286.1 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.0006627/0.1152, allocations: 0.5341 MB / 347 MB, free: 1.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1153, allocations: 12.03 kB / 347 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1154, allocations: 8.844 kB / 347 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1155, allocations: 188.2 kB / 347.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1156, allocations: 4.312 kB / 347.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1156, allocations: 4.375 kB / 347.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1158, allocations: 67.52 kB / 347.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1158, allocations: 0 / 347.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1158, allocations: 0 / 347.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1158, allocations: 0 / 347.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1159, allocations: 31.97 kB / 347.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1161, allocations: 174.5 kB / 347.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.1164, allocations: 77.19 kB / 347.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.1165, allocations: 21.78 kB / 347.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006122/0.1226, allocations: 3.293 MB / 350.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1226, allocations: 42.44 kB / 350.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1226, allocations: 0 / 350.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002979/0.123, allocations: 81.61 kB / 350.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.123, allocations: 81.09 kB / 351 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.1231, allocations: 113.8 kB / 351.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1231, allocations: 25.7 kB / 351.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.1232, allocations: 88.14 kB / 351.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1232, allocations: 15.66 kB / 351.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1232, allocations: 21.7 kB / 351.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.1233, allocations: 314.8 kB / 351.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.1234, allocations: 15.98 kB / 351.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.1235, allocations: 17.72 kB / 351.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1236, allocations: 49.94 kB / 351.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1236, allocations: 0 / 351.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.1237, allocations: 73.52 kB / 351.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1238, allocations: 12 kB / 351.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1238, allocations: 0 / 351.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1238, allocations: 0 / 351.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1239, allocations: 19.86 kB / 351.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1239, allocations: 4 kB / 351.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.1239, allocations: 128 / 351.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.124, allocations: 8 kB / 351.8 MB, free: 12.16 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.124, allocations: 109.8 kB / 351.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.1241, allocations: 11.92 kB / 351.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1243, allocations: 109.7 kB / 352 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1243, allocations: 3.984 kB / 352 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1243, allocations: 3.938 kB / 352 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1243, allocations: 0 / 352 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1245, allocations: 165.7 kB / 352.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1245, allocations: 0 / 352.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.1245, allocations: 15.94 kB / 352.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1246, allocations: 0 / 352.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1246, allocations: 8 kB / 352.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1246, allocations: 3.984 kB / 352.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1246, allocations: 0 / 352.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1248, allocations: 89.98 kB / 352.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.1248, allocations: 104.9 kB / 352.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1248, allocations: 3.938 kB / 352.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1249, allocations: 4 kB / 352.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.125, allocations: 7.984 kB / 352.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.125, allocations: 4 kB / 352.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.125, allocations: 91.27 kB / 352.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 0 / 352.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007089/0.1258, allocations: 323.6 kB / 352.8 MB, free: 11.02 MB / 302.1 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 (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.001048/0.1268, allocations: 0.5846 MB / 353.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.127, allocations: 39.92 kB / 353.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.127, allocations: 0 / 353.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.1271, allocations: 15.98 kB / 353.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1273, allocations: 15.94 kB / 353.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1276, allocations: 183.4 kB / 353.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.1278, allocations: 0.6887 MB / 354.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.128, allocations: 48.48 kB / 354.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.128, allocations: 15.42 kB / 354.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.128, allocations: 8 kB / 354.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of Templates: time 0.01273/0.1408, allocations: 8.868 MB / 363.3 MB, free: 492 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches