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.0009472/0.0009472, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001079/0.001079, allocations: 173.9 kB / 24.92 MB, free: 9.184 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.9265/0.9265, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.543e-06/1.543e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.464e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002745/0.00277, allocations: 1.442 MB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.01649, allocations: 11.98 MB / 286.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.01653, allocations: 0 / 286.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.01655, allocations: 7.922 kB / 286.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.01903, allocations: 1.002 MB / 287.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.02028, allocations: 0.6407 MB / 288.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.0204, allocations: 71.64 kB / 288.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.02044, allocations: 0 / 288.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.02052, allocations: 35.91 kB / 288.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.02061, allocations: 27.95 kB / 288.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.02063, allocations: 8 kB / 288.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.023, allocations: 1.584 MB / 290.3 MB, free: 432 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.02302, allocations: 7.984 kB / 290.3 MB, free: 424 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.02305, allocations: 23.92 kB / 290.3 MB, free: 400 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1074/0.1305, allocations: 1.234 MB / 291.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1305, allocations: 2.156 kB / 291.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1305, allocations: 0 / 291.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1305, allocations: 0 / 291.5 MB, free: 16.36 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.0005647/0.131, allocations: 461.5 kB / 292 MB, free: 16.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1311, allocations: 10.5 kB / 292 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.1312, allocations: 15.62 kB / 292 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.1312, allocations: 121.8 kB / 292.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1312, allocations: 2.656 kB / 292.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.1313, allocations: 3.719 kB / 292.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1314, allocations: 128.5 kB / 292.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1314, allocations: 192 / 292.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1314, allocations: 2.25 kB / 292.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1314, allocations: 5.797 kB / 292.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.1314, allocations: 17.52 kB / 292.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.933e-05/0.1315, allocations: 72.19 kB / 292.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1316, allocations: 70.22 kB / 292.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.1316, allocations: 16.06 kB / 292.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.1341, allocations: 1.405 MB / 293.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1342, allocations: 34.78 kB / 293.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1342, allocations: 0 / 293.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001198/0.1343, allocations: 69.95 kB / 294 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.559e-05/0.1343, allocations: 80.12 kB / 294 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.221e-05/0.1343, allocations: 112.6 kB / 294.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1344, allocations: 27.02 kB / 294.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.316e-05/0.1344, allocations: 84.45 kB / 294.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1344, allocations: 19.47 kB / 294.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.1344, allocations: 16.08 kB / 294.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.1345, allocations: 325 kB / 294.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.1345, allocations: 4.906 kB / 294.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.1345, allocations: 17.31 kB / 294.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.1345, allocations: 41.77 kB / 294.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1345, allocations: 0 / 294.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.605e-05/0.1346, allocations: 55.09 kB / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1346, allocations: 5.688 kB / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1346, allocations: 1.281 kB / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1346, allocations: 1.125 kB / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/0.1347, allocations: 13.2 kB / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1347, allocations: 0 / 294.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.1347, allocations: 15.22 kB / 294.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1347, allocations: 9.734 kB / 294.8 MB, free: 14.75 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 3.113e-05/0.1347, allocations: 109.5 kB / 294.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.1347, allocations: 5.172 kB / 294.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1348, allocations: 89.38 kB / 295 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1348, allocations: 1.094 kB / 295 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1348, allocations: 1.094 kB / 295 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1348, allocations: 0.6094 kB / 295 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.02e-05/0.1349, allocations: 76.39 kB / 295 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1349, allocations: 7 kB / 295 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1349, allocations: 12.61 kB / 295.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1349, allocations: 1.156 kB / 295.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1349, allocations: 1.812 kB / 295.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1349, allocations: 1.094 kB / 295.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1349, allocations: 1.094 kB / 295.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.162e-05/0.135, allocations: 90.56 kB / 295.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.135, allocations: 14.34 kB / 295.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.135, allocations: 2.125 kB / 295.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1351, allocations: 9.641 kB / 295.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1351, allocations: 9.688 kB / 295.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1351, allocations: 6.25 kB / 295.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.634e-05/0.1351, allocations: 16.86 kB / 295.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1351, allocations: 0 / 295.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004977/0.1356, allocations: 328.2 kB / 295.5 MB, free: 14.36 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.000858/0.1365, allocations: 0.6291 MB / 296.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.1365, allocations: 31.86 kB / 296.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1365, allocations: 1.031 kB / 296.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.1366, allocations: 31.83 kB / 296.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.268e-05/0.1367, allocations: 17.47 kB / 296.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1371, allocations: 171.6 kB / 296.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.791e-05/0.1371, allocations: 57.83 kB / 296.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.1372, allocations: 49.42 kB / 296.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.1372, allocations: 75.83 kB / 296.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1372, allocations: 0 / 296.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Templates: time 0.01097/0.1482, allocations: 10.75 MB / 307.3 MB, free: 10.38 MB / 266.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 -s gbode -gbm=radauIIA3 -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.422565785702318]