Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009441/0.0009441, allocations: 84.34 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009729/0.0009729, allocations: 163 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8788/0.8788, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.825e-05, allocations: 2.906 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002309/0.002327, allocations: 1.408 MB / 275.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.02434, allocations: 23 MB / 298.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.02438, allocations: 0 / 298.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.02449, allocations: 11.92 kB / 298.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.03545, allocations: 6.022 MB / 304.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.03596, allocations: 374.3 kB / 304.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.03606, allocations: 75.64 kB / 305 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.0361, allocations: 15.92 kB / 305 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.03616, allocations: 43.89 kB / 305.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.03623, allocations: 31.89 kB / 305.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.03624, allocations: 4 kB / 305.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009435/0.04568, allocations: 8.428 MB / 313.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.04571, allocations: 15.97 kB / 313.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.04574, allocations: 19.92 kB / 313.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.05294, allocations: 5.503 MB / 319.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.05294, allocations: 0 / 319.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.05294, allocations: 0 / 319.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.05295, allocations: 0 / 319.1 MB, free: 7.227 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.001639/0.05458, allocations: 0.9675 MB / 320 MB, free: 6.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.05462, allocations: 12.03 kB / 320 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.05466, allocations: 8.891 kB / 320 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.05476, allocations: 132.5 kB / 320.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.05478, allocations: 384 / 320.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.05479, allocations: 7.938 kB / 320.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.05493, allocations: 133.1 kB / 320.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.05494, allocations: 4 kB / 320.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.05495, allocations: 0 / 320.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.05496, allocations: 0 / 320.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.055, allocations: 11.98 kB / 320.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.05512, allocations: 116.9 kB / 320.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.0553, allocations: 90.17 kB / 320.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.05533, allocations: 19.44 kB / 320.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.05537, allocations: 15.98 kB / 320.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.05539, allocations: 45.27 kB / 320.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.05539, allocations: 0 / 320.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001534/0.05555, allocations: 65.58 kB / 320.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.05558, allocations: 85.11 kB / 320.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.05567, allocations: 177.9 kB / 320.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.05569, allocations: 33.7 kB / 321 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.05573, allocations: 126.9 kB / 321.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.05576, allocations: 27.81 kB / 321.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.05579, allocations: 23.33 kB / 321.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.05592, allocations: 0.4884 MB / 321.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.05594, allocations: 11.92 kB / 321.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.05597, allocations: 23.38 kB / 321.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.05602, allocations: 43.66 kB / 321.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.05602, allocations: 4 kB / 321.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.219e-05/0.05611, allocations: 53.69 kB / 321.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.05613, allocations: 7.938 kB / 321.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.05613, allocations: 0 / 321.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.05614, allocations: 0 / 321.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.05619, allocations: 19.92 kB / 321.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.05619, allocations: 0 / 321.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.05622, allocations: 4 kB / 321.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.05623, allocations: 4 kB / 321.8 MB, free: 4.223 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.05629, allocations: 160.6 kB / 321.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.05632, allocations: 11.89 kB / 322 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.05644, allocations: 81.59 kB / 322 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.05644, allocations: 0 / 322 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.05644, allocations: 0 / 322 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.05644, allocations: 0 / 322 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.05654, allocations: 113.1 kB / 322.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.05654, allocations: 0 / 322.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.05657, allocations: 8 kB / 322.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.05657, allocations: 0 / 322.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.05658, allocations: 12 kB / 322.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.05658, allocations: 3.938 kB / 322.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.05659, allocations: 3.984 kB / 322.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.0567, allocations: 104 kB / 322.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.05673, allocations: 15.94 kB / 322.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.05674, allocations: 0 / 322.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.05679, allocations: 8.125 kB / 322.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.05682, allocations: 7.984 kB / 322.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.05683, allocations: 8 kB / 322.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.05688, allocations: 135.2 kB / 322.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05688, allocations: 4 kB / 322.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001715/0.05859, allocations: 0.9547 MB / 323.4 MB, free: 2.535 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 (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.003204/0.0618, allocations: 1.496 MB / 324.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.06189, allocations: 31.61 kB / 324.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.06189, allocations: 0 / 324.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.06192, allocations: 23.61 kB / 325 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.06212, allocations: 25.88 kB / 325 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.06261, allocations: 193.7 kB / 325.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.06264, allocations: 55.36 kB / 325.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.06269, allocations: 19.97 kB / 325.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.06277, allocations: 94.19 kB / 325.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.06277, allocations: 0 / 325.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of Templates: time 0.1362/0.1989, allocations: 32.59 MB / 357.9 MB, free: 42.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.419184923171997]