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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 75.75 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 165.2 kB / 24.98 MB, free: 9.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8934/0.8934, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 250.3 MB, free: 3.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.57e-05, allocations: 9.406 kB / 250.4 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00184/0.001855, allocations: 1.38 MB / 251.7 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.02263, allocations: 23.39 MB / 275.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.02268, allocations: 0 / 275.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.02279, allocations: 3.938 kB / 275.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.033, allocations: 5.684 MB / 280.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.0335, allocations: 366.4 kB / 281.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.03361, allocations: 79.62 kB / 281.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.03365, allocations: 4 kB / 281.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.03372, allocations: 47.88 kB / 281.3 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.03379, allocations: 31.91 kB / 281.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.03381, allocations: 4 kB / 281.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009907/0.04371, allocations: 8.276 MB / 289.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.04375, allocations: 11.98 kB / 289.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.0438, allocations: 27.91 kB / 289.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.0512, allocations: 5.445 MB / 295.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.0512, allocations: 0 / 295.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0512, allocations: 0 / 295.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.05121, allocations: 0 / 295.1 MB, free: 6.996 MB / 282.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.001596/0.0528, allocations: 0.9559 MB / 296.1 MB, free: 6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.05286, allocations: 11.98 kB / 296.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.05292, allocations: 12.89 kB / 296.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.05307, allocations: 132.5 kB / 296.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.0531, allocations: 384 / 296.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.05311, allocations: 7.938 kB / 296.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.05332, allocations: 137.1 kB / 296.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.05333, allocations: 0 / 296.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.05335, allocations: 0 / 296.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.05336, allocations: 3.938 kB / 296.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.05341, allocations: 11.98 kB / 296.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.05361, allocations: 140.4 kB / 296.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.05387, allocations: 94.08 kB / 296.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.0539, allocations: 23.44 kB / 296.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.05396, allocations: 11.94 kB / 296.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.05399, allocations: 49.31 kB / 296.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.05399, allocations: 0 / 296.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001958/0.05419, allocations: 65.64 kB / 296.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.05423, allocations: 89.05 kB / 296.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.05432, allocations: 193.8 kB / 297 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.05434, allocations: 25.7 kB / 297 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.05438, allocations: 134.9 kB / 297.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.05441, allocations: 19.78 kB / 297.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.05444, allocations: 27.38 kB / 297.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.05455, allocations: 496.1 kB / 297.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.05458, allocations: 7.984 kB / 297.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.0546, allocations: 23.38 kB / 297.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.05466, allocations: 43.3 kB / 297.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.05466, allocations: 4 kB / 297.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.865e-05/0.05475, allocations: 57.62 kB / 297.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.05476, allocations: 4 kB / 297.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.05477, allocations: 4 kB / 297.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.05478, allocations: 0 / 297.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.05483, allocations: 15.92 kB / 297.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.05484, allocations: 0 / 297.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.05486, allocations: 11.95 kB / 297.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.05487, allocations: 0 / 297.9 MB, free: 3.945 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.05493, allocations: 160.6 kB / 298 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.05495, allocations: 7.938 kB / 298 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.05507, allocations: 82.06 kB / 298.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.05507, allocations: 0 / 298.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.05507, allocations: 96 / 298.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.05508, allocations: 3.984 kB / 298.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.883e-05/0.05516, allocations: 132.5 kB / 298.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.05516, allocations: 0 / 298.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.05519, allocations: 19.92 kB / 298.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.05519, allocations: 7.938 kB / 298.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.0552, allocations: 4 kB / 298.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.0552, allocations: 0 / 298.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.0552, allocations: 0 / 298.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.0553, allocations: 104.1 kB / 298.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.05533, allocations: 11.94 kB / 298.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.05535, allocations: 8.125 kB / 298.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.05539, allocations: 8 kB / 298.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.05543, allocations: 7.984 kB / 298.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.05544, allocations: 4 kB / 298.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.05548, allocations: 139.2 kB / 298.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05548, allocations: 4 kB / 298.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00151/0.05699, allocations: 0.9392 MB / 299.5 MB, free: 2.238 MB / 282.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 (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.003018/0.06001, allocations: 1.484 MB / 301 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.06014, allocations: 35.61 kB / 301 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.06015, allocations: 0 / 301 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.06018, allocations: 31.89 kB / 301 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.06038, allocations: 27.92 kB / 301.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.061, allocations: 181 kB / 301.3 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.06103, allocations: 67.28 kB / 301.3 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.06107, allocations: 16.06 kB / 301.3 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.0611, allocations: 20.48 kB / 301.4 MB, free: 332 kB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06111, allocations: 0 / 301.4 MB, free: 332 kB / 282.7 MB Notification: Performance of Templates: time 0.1261/0.1872, allocations: 29.58 MB / 330.9 MB, free: 18.35 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.500893678050488]