Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0009115/0.0009115, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001083/0.001083, allocations: 163.1 kB / 24.91 MB, free: 8.719 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.8865/0.8865, allocations: 177 MB / 205.2 MB, free: 4.434 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.747e-05, allocations: 4.141 kB / 273.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001703/0.001721, allocations: 1.435 MB / 274.9 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.01011, allocations: 11.98 MB / 286.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.01013, allocations: 0 / 286.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.01015, allocations: 11.92 kB / 286.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.0117, allocations: 0.998 MB / 287.8 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.01244, allocations: 0.6406 MB / 288.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.01251, allocations: 71.64 kB / 288.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.896e-05/0.01254, allocations: 4 kB / 288.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.01259, allocations: 31.91 kB / 288.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.01288, allocations: 31.95 kB / 288.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.01289, allocations: 0 / 288.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.01443, allocations: 1.584 MB / 290.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.01444, allocations: 7.984 kB / 290.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.01446, allocations: 19.92 kB / 290.2 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.01545, allocations: 1.239 MB / 291.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01545, allocations: 0 / 291.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01545, allocations: 11.94 kB / 291.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.01546, allocations: 0 / 291.5 MB, free: 2.141 MB / 266.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.0003758/0.01583, allocations: 466.9 kB / 291.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.01586, allocations: 8.031 kB / 291.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.01594, allocations: 12.92 kB / 292 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.01601, allocations: 117.7 kB / 292.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.01602, allocations: 384 / 292.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.01603, allocations: 4.375 kB / 292.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.01614, allocations: 128 kB / 292.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.01615, allocations: 192 / 292.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.01616, allocations: 8.125 kB / 292.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.01616, allocations: 0 / 292.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.01619, allocations: 15.92 kB / 292.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.619e-05/0.01627, allocations: 73.89 kB / 292.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.0164, allocations: 61.22 kB / 292.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.01642, allocations: 17.72 kB / 292.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/0.01864, allocations: 1.414 MB / 293.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.01866, allocations: 34.55 kB / 293.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01866, allocations: 4 kB / 293.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001077/0.01877, allocations: 57.98 kB / 293.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.0188, allocations: 81.11 kB / 294 MB, free: 15.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.14e-05/0.01885, allocations: 118.6 kB / 294.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.01886, allocations: 25.7 kB / 294.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.01888, allocations: 88.14 kB / 294.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.0189, allocations: 19.8 kB / 294.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.01892, allocations: 25.69 kB / 294.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.01898, allocations: 310.8 kB / 294.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.019, allocations: 7.984 kB / 294.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.01902, allocations: 21.83 kB / 294.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.01905, allocations: 37.62 kB / 294.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01905, allocations: 0 / 294.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.077e-05/0.01911, allocations: 61.61 kB / 294.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.01912, allocations: 4 kB / 294.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.01913, allocations: 0 / 294.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01914, allocations: 4 kB / 294.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.01918, allocations: 11.98 kB / 294.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.01919, allocations: 0 / 294.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.0192, allocations: 7.938 kB / 294.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.01921, allocations: 0 / 294.7 MB, free: 14.72 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 4.457e-05/0.01926, allocations: 113.8 kB / 294.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-06/0.01927, allocations: 7.984 kB / 294.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.01937, allocations: 89.81 kB / 294.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01937, allocations: 4 kB / 294.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01938, allocations: 0 / 294.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01938, allocations: 3.938 kB / 294.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.188e-05/0.01944, allocations: 89.77 kB / 295 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.01944, allocations: 0 / 295 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.01947, allocations: 11.98 kB / 295 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.01947, allocations: 0 / 295 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.01947, allocations: 11.94 kB / 295 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01947, allocations: 0 / 295 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01947, allocations: 0 / 295 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.52e-05/0.01954, allocations: 89.84 kB / 295.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.01956, allocations: 4 kB / 295.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.01957, allocations: 3.984 kB / 295.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.01959, allocations: 8 kB / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.01962, allocations: 8.172 kB / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.01962, allocations: 0 / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.391e-05/0.01964, allocations: 16.84 kB / 295.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01964, allocations: 4 kB / 295.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.02, allocations: 334.8 kB / 295.5 MB, free: 13.88 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.0009234/0.02093, allocations: 0.6277 MB / 296.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.02099, allocations: 28.78 kB / 296.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.02099, allocations: 4 kB / 296.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.02101, allocations: 21.06 kB / 296.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.657e-05/0.0211, allocations: 15.98 kB / 296.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.0215, allocations: 173.5 kB / 296.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.595e-05/0.02153, allocations: 55.36 kB / 296.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.0216, allocations: 56.08 kB / 296.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.02167, allocations: 79.34 kB / 296.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02167, allocations: 0 / 296.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of Templates: time 0.009752/0.03142, allocations: 10.73 MB / 307.3 MB, free: 2.035 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.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: 3.352356102783233]