Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009203, allocations: 95.69 kB / 16.93 MB, free: 5.98 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.0008937/0.0008938, allocations: 178.3 kB / 17.82 MB, free: 5.652 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.352/1.352, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004183/0.0004184, allocations: 12 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08794, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001296/0.08929, allocations: 1.051 MB / 329.4 MB, free: 3.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02464/0.1139, allocations: 20.54 MB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.114, allocations: 0 / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1142, allocations: 7.969 kB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.1269, allocations: 4.185 MB / 354.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.1275, allocations: 207.4 kB / 354.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.1277, allocations: 51.92 kB / 354.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1277, allocations: 7.984 kB / 354.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.1278, allocations: 23.92 kB / 354.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.1279, allocations: 39.89 kB / 354.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1279, allocations: 0 / 354.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.1415, allocations: 7.791 MB / 362.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.1415, allocations: 11.98 kB / 362.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1416, allocations: 41.64 kB / 362.3 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.1473, allocations: 2.76 MB / 365 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1473, allocations: 0 / 365 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1473, allocations: 4 kB / 365 MB, free: 15.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1474, allocations: 4 kB / 365 MB, free: 15.29 MB / 318.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.001987/0.1493, allocations: 0.8888 MB / 365.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1494, allocations: 8.031 kB / 365.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1494, allocations: 7.906 kB / 365.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1496, allocations: 194.9 kB / 366.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1496, allocations: 4 kB / 366.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1496, allocations: 0 / 366.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1498, allocations: 71.39 kB / 366.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1498, allocations: 3.938 kB / 366.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1499, allocations: 4 kB / 366.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1499, allocations: 3.984 kB / 366.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.15, allocations: 31.97 kB / 366.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1502, allocations: 194.5 kB / 366.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1505, allocations: 97.22 kB / 366.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/0.1506, allocations: 12.14 kB / 366.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1506, allocations: 38.56 kB / 366.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1506, allocations: 0 / 366.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003036/0.1509, allocations: 97.5 kB / 366.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.151, allocations: 85.11 kB / 366.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1511, allocations: 134 kB / 366.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1511, allocations: 29.7 kB / 366.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.1512, allocations: 88.06 kB / 367 MB, free: 13.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1512, allocations: 23.7 kB / 367 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1512, allocations: 0 / 367 MB, free: 13.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1513, allocations: 326.8 kB / 367.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.1514, allocations: 12 kB / 367.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.1515, allocations: 33.7 kB / 367.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.1515, allocations: 19.98 kB / 367.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1515, allocations: 0 / 367.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001685/0.1517, allocations: 77.61 kB / 367.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1517, allocations: 4 kB / 367.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1517, allocations: 0 / 367.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1518, allocations: 3.984 kB / 367.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.1518, allocations: 23.94 kB / 367.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1519, allocations: 0 / 367.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.1519, allocations: 3.938 kB / 367.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1519, allocations: 4.375 kB / 367.5 MB, free: 12.55 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.152, allocations: 117.8 kB / 367.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.152, allocations: 8.031 kB / 367.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1523, allocations: 97.95 kB / 367.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1523, allocations: 7.938 kB / 367.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1523, allocations: 4 kB / 367.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1523, allocations: 4.078 kB / 367.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1524, allocations: 185.5 kB / 367.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1524, allocations: 0 / 367.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.1525, allocations: 15.94 kB / 368 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1525, allocations: 3.984 kB / 368 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1525, allocations: 0 / 368 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1525, allocations: 4 kB / 368 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1525, allocations: 0 / 368 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1527, allocations: 123.6 kB / 368.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1528, allocations: 96.98 kB / 368.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1528, allocations: 0 / 368.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1529, allocations: 8 kB / 368.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.153, allocations: 7.984 kB / 368.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.153, allocations: 0 / 368.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.936e-05/0.153, allocations: 115.2 kB / 368.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1531, allocations: 0 / 368.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002226/0.1553, allocations: 0.9213 MB / 369.2 MB, free: 10.74 MB / 318.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 (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.003303/0.1586, allocations: 1.234 MB / 370.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1588, allocations: 43.97 kB / 370.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1588, allocations: 0 / 370.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.1589, allocations: 36.2 kB / 370.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1591, allocations: 19.94 kB / 370.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.1595, allocations: 207.3 kB / 370.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.1597, allocations: 0.6887 MB / 371.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1598, allocations: 19.84 kB / 371.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1598, allocations: 11.44 kB / 371.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1598, allocations: 4 kB / 371.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of Templates: time 0.1863/0.3461, allocations: 28.84 MB / 400.3 MB, free: 42.71 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches