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.001099/0.001099, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00109/0.00109, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9788/0.9788, allocations: 177 MB / 204.8 MB, free: 5.594 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.914e-06/1.914e-06, allocations: 3.938 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.401e-05, allocations: 5.266 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002024/0.002048, allocations: 1.404 MB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.01624, allocations: 12 MB / 286.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.01628, allocations: 0 / 286.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.0163, allocations: 4 kB / 286.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.01862, allocations: 1.045 MB / 287.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01983, allocations: 0.6602 MB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.0199, allocations: 63.66 kB / 288.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.273e-05/0.01993, allocations: 8 kB / 288.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.01997, allocations: 35.89 kB / 288.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.02004, allocations: 31.95 kB / 288.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.02005, allocations: 3.938 kB / 288.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.02203, allocations: 1.498 MB / 289.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.02204, allocations: 7.938 kB / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.02207, allocations: 23.97 kB / 289.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1215/0.1436, allocations: 1.236 MB / 290.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1436, allocations: 0 / 290.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1436, allocations: 0 / 290.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1436, allocations: 2.062 kB / 290.9 MB, free: 16.75 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.0007344/0.1443, allocations: 0.5716 MB / 291.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1443, allocations: 13.95 kB / 291.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1445, allocations: 13.38 kB / 291.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1446, allocations: 125.2 kB / 291.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1446, allocations: 3.75 kB / 291.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1446, allocations: 3.906 kB / 291.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1448, allocations: 133.5 kB / 291.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1448, allocations: 0.9375 kB / 291.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1448, allocations: 3.562 kB / 291.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1448, allocations: 4.438 kB / 291.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.1448, allocations: 16.53 kB / 291.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.145, allocations: 140.1 kB / 291.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1452, allocations: 87.19 kB / 292 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.1452, allocations: 28.73 kB / 292.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003061/0.1483, allocations: 1.509 MB / 293.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1483, allocations: 36.38 kB / 293.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1483, allocations: 0 / 293.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001925/0.1485, allocations: 79.06 kB / 293.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.1485, allocations: 82.67 kB / 293.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.1486, allocations: 171.3 kB / 293.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.1486, allocations: 28.98 kB / 294 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.1486, allocations: 134 kB / 294.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1486, allocations: 19.39 kB / 294.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1487, allocations: 22.08 kB / 294.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.1487, allocations: 499.6 kB / 294.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.1487, allocations: 5.891 kB / 294.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.1488, allocations: 27.73 kB / 294.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.1488, allocations: 38.33 kB / 294.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1488, allocations: 1.25 kB / 294.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.649e-05/0.1489, allocations: 63.19 kB / 294.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1489, allocations: 5.25 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1489, allocations: 1.125 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1489, allocations: 1.766 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.149, allocations: 12.94 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.149, allocations: 5.578 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.149, allocations: 2.766 kB / 294.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.149, allocations: 6.156 kB / 294.8 MB, free: 14.57 MB / 266.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.755e-05/0.1491, allocations: 163.3 kB / 294.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.1491, allocations: 11.62 kB / 295 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1492, allocations: 97.56 kB / 295 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1492, allocations: 1.281 kB / 295 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1492, allocations: 5 kB / 295.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1492, allocations: 2.188 kB / 295.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.948e-05/0.1493, allocations: 121.5 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1493, allocations: 5.062 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.1493, allocations: 18.22 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1493, allocations: 1.938 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1493, allocations: 2.062 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1493, allocations: 2.156 kB / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1493, allocations: 0 / 295.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.1494, allocations: 112.4 kB / 295.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.1495, allocations: 16.94 kB / 295.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1495, allocations: 1.703 kB / 295.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.1495, allocations: 11.88 kB / 295.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.1496, allocations: 9.734 kB / 295.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1496, allocations: 2.422 kB / 295.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.1496, allocations: 136.3 kB / 295.5 MB, free: 14 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 295.5 MB, free: 14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005674/0.1502, allocations: 325.7 kB / 295.8 MB, free: 13.93 MB / 266.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.0008648/0.151, allocations: 0.6241 MB / 296.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1511, allocations: 40.69 kB / 296.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1511, allocations: 1.469 kB / 296.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.1512, allocations: 23.02 kB / 296.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1513, allocations: 14.73 kB / 296.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.1519, allocations: 181.8 kB / 296.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.1519, allocations: 59.98 kB / 296.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.483e-05/0.152, allocations: 42.34 kB / 296.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.152, allocations: 27.91 kB / 296.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.152, allocations: 0 / 296.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Templates: time 0.009516/0.1615, allocations: 9.261 MB / 306.1 MB, free: 10.8 MB / 266.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 -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: 4.152163187973201]