Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.67 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.809e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.15/14.27, allocations: 6.136 GB / 6.515 GB, free: 85.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/14.27, allocations: 77.67 kB / 6.515 GB, free: 85.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6985/14.97, allocations: 189.3 MB / 6.7 GB, free: 67.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.183e-06/14.97, allocations: 0 / 6.7 GB, free: 67.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/14.97, allocations: 0 / 6.7 GB, free: 67.38 MB / 442.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.004374/14.98, allocations: 1.099 MB / 6.701 GB, free: 66.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/14.98, allocations: 12.03 kB / 6.701 GB, free: 66.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/14.98, allocations: 0 / 6.701 GB, free: 66.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/14.98, allocations: 194.2 kB / 6.701 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/14.98, allocations: 3.953 kB / 6.701 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/14.98, allocations: 0 / 6.701 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.867e-05/14.98, allocations: 27.75 kB / 6.701 GB, free: 66.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/14.98, allocations: 73.91 kB / 6.701 GB, free: 65.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/14.98, allocations: 0 / 6.701 GB, free: 65.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/14.98, allocations: 0 / 6.701 GB, free: 65.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/14.98, allocations: 7.984 kB / 6.701 GB, free: 65.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/14.98, allocations: 158.1 kB / 6.701 GB, free: 65.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/14.98, allocations: 95.72 kB / 6.701 GB, free: 65.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/14.98, allocations: 29.78 kB / 6.701 GB, free: 65.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/14.98, allocations: 11.89 kB / 6.701 GB, free: 65.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/14.98, allocations: 38.52 kB / 6.701 GB, free: 65.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/14.98, allocations: 0 / 6.701 GB, free: 65.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007213/14.98, allocations: 166.2 kB / 6.702 GB, free: 65.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/14.98, allocations: 77.11 kB / 6.702 GB, free: 65.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/14.98, allocations: 128.6 kB / 6.702 GB, free: 65.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/14.98, allocations: 25.7 kB / 6.702 GB, free: 65.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/14.98, allocations: 88.14 kB / 6.702 GB, free: 65.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/14.98, allocations: 19.75 kB / 6.702 GB, free: 65.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/14.98, allocations: 0 / 6.702 GB, free: 65.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/14.98, allocations: 314.4 kB / 6.702 GB, free: 64.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/14.98, allocations: 15.84 kB / 6.702 GB, free: 64.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/14.98, allocations: 25.47 kB / 6.702 GB, free: 64.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/14.98, allocations: 109.5 kB / 6.702 GB, free: 64.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/14.98, allocations: 0 / 6.702 GB, free: 64.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005416/14.98, allocations: 162.1 kB / 6.703 GB, free: 64.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/14.98, allocations: 4.938 kB / 6.703 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/14.98, allocations: 4 kB / 6.703 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/14.98, allocations: 3.953 kB / 6.703 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/14.98, allocations: 11.75 kB / 6.703 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/14.98, allocations: 0 / 6.703 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/14.98, allocations: 5.625 kB / 6.703 GB, free: 64.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/14.98, allocations: 4 kB / 6.703 GB, free: 64.5 MB / 442.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 () * 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.496e-05/14.98, allocations: 108.9 kB / 6.703 GB, free: 64.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/14.98, allocations: 11.38 kB / 6.703 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005984/14.98, allocations: 184 kB / 6.703 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/14.98, allocations: 4.234 kB / 6.703 GB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/14.98, allocations: 0 / 6.703 GB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/14.98, allocations: 4 kB / 6.703 GB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/14.98, allocations: 157.3 kB / 6.703 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/14.98, allocations: 0 / 6.703 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/14.98, allocations: 15.94 kB / 6.703 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/14.98, allocations: 3.562 kB / 6.703 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/14.98, allocations: 7.938 kB / 6.703 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/14.98, allocations: 3.688 kB / 6.703 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/14.98, allocations: 0 / 6.703 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/14.98, allocations: 207.4 kB / 6.703 GB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/14.98, allocations: 100.7 kB / 6.703 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/14.98, allocations: 4 kB / 6.703 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/14.98, allocations: 4.375 kB / 6.703 GB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/14.98, allocations: 10.81 kB / 6.703 GB, free: 63.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/14.98, allocations: 7.609 kB / 6.703 GB, free: 63.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/14.98, allocations: 110.6 kB / 6.703 GB, free: 63.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/14.98, allocations: 0 / 6.703 GB, free: 63.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003817/14.99, allocations: 0.9808 MB / 6.704 GB, free: 62.65 MB / 442.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 () * 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.00745/14.99, allocations: 1.487 MB / 6.706 GB, free: 61.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/14.99, allocations: 39.83 kB / 6.706 GB, free: 61.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/14.99, allocations: 0 / 6.706 GB, free: 61.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/14.99, allocations: 23.84 kB / 6.706 GB, free: 61.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/14.99, allocations: 13.41 kB / 6.706 GB, free: 61.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/14.99, allocations: 103.8 kB / 6.706 GB, free: 61.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/14.99, allocations: 0.6881 MB / 6.707 GB, free: 60.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.1e-05/14.99, allocations: 13.86 kB / 6.707 GB, free: 60.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/14.99, allocations: 27.27 kB / 6.707 GB, free: 60.49 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/14.99, allocations: 0 / 6.707 GB, free: 60.49 MB / 442.7 MB Notification: Performance of Templates: time 0.02794/15.02, allocations: 25.11 MB / 6.731 GB, free: 37.75 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches