Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0008203/0.0008203, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.000904/0.000904, allocations: 173.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9708/0.9708, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.429e-05, allocations: 2.312 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001775/0.001799, allocations: 1.39 MB / 275.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008435/0.01023, allocations: 11.84 MB / 287.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.01027, allocations: 4 kB / 287.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.01029, allocations: 3.984 kB / 287.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.01255, allocations: 1.045 MB / 288.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.01381, allocations: 0.6602 MB / 289.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.259e-05/0.0139, allocations: 67.64 kB / 289.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.01394, allocations: 4 kB / 289.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.01399, allocations: 31.97 kB / 289.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.01406, allocations: 23.91 kB / 289.2 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.01408, allocations: 4 kB / 289.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.01584, allocations: 1.498 MB / 290.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.01586, allocations: 15.91 kB / 290.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.01589, allocations: 19.98 kB / 290.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.01729, allocations: 1.243 MB / 292 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0173, allocations: 0 / 292 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0173, allocations: 0 / 292 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.0173, allocations: 0 / 292 MB, free: 2.512 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.0006072/0.01791, allocations: 0.5805 MB / 292.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01794, allocations: 8.031 kB / 292.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.01804, allocations: 20.88 kB / 292.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.01814, allocations: 120.6 kB / 292.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.01816, allocations: 384 / 292.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.01817, allocations: 8.375 kB / 292.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.01832, allocations: 125.7 kB / 292.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.01832, allocations: 192 / 292.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.01833, allocations: 12.12 kB / 292.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.01834, allocations: 0 / 292.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.01837, allocations: 15.97 kB / 292.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.01849, allocations: 121 kB / 293 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.01867, allocations: 82.11 kB / 293.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.01869, allocations: 31.42 kB / 293.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/0.02128, allocations: 1.398 MB / 294.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.02131, allocations: 45.38 kB / 294.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.02131, allocations: 0 / 294.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001684/0.02148, allocations: 65.62 kB / 294.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.02152, allocations: 81.09 kB / 294.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.02161, allocations: 177.8 kB / 294.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.02162, allocations: 25.7 kB / 294.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.02166, allocations: 138.9 kB / 295.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.02169, allocations: 19.73 kB / 295.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.02173, allocations: 31.36 kB / 295.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.02185, allocations: 496.1 kB / 295.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.02186, allocations: 7.984 kB / 295.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.02189, allocations: 19.38 kB / 295.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.02193, allocations: 47.66 kB / 295.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.02194, allocations: 0 / 295.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.431e-05/0.02202, allocations: 61.62 kB / 295.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.02203, allocations: 7.938 kB / 295.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.02204, allocations: 4 kB / 295.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.02205, allocations: 0 / 295.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.02209, allocations: 11.98 kB / 295.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.02209, allocations: 3.938 kB / 295.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.02211, allocations: 4 kB / 295.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.02212, allocations: 4 kB / 295.8 MB, free: 14.51 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.227e-05/0.02218, allocations: 164.6 kB / 295.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.0222, allocations: 7.953 kB / 295.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.02232, allocations: 85.58 kB / 296 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02233, allocations: 7.938 kB / 296 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02233, allocations: 128 / 296 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.02233, allocations: 7.938 kB / 296 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.02241, allocations: 113.2 kB / 296.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.02241, allocations: 4 kB / 296.1 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.02244, allocations: 8 kB / 296.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02244, allocations: 3.984 kB / 296.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.02245, allocations: 4 kB / 296.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.02245, allocations: 0 / 296.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.02245, allocations: 0 / 296.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.02254, allocations: 112 kB / 296.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.02257, allocations: 7.984 kB / 296.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.02258, allocations: 0 / 296.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.02261, allocations: 11.98 kB / 296.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.02263, allocations: 4 kB / 296.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.02264, allocations: 7.984 kB / 296.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.853e-05/0.02268, allocations: 127.2 kB / 296.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02268, allocations: 0 / 296.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.0232, allocations: 342.7 kB / 296.8 MB, free: 13.44 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.0007855/0.02398, allocations: 0.6352 MB / 297.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.02407, allocations: 39.58 kB / 297.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02407, allocations: 0 / 297.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.0241, allocations: 23.67 kB / 297.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.02424, allocations: 15.98 kB / 297.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.02468, allocations: 177.9 kB / 297.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.02471, allocations: 59.34 kB / 297.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.02479, allocations: 47.89 kB / 297.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.02486, allocations: 98.17 kB / 297.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02486, allocations: 0 / 297.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01082/0.03568, allocations: 10.84 MB / 308.7 MB, free: 1.445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.695099527016282]