Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008617/0.0008617, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.0009246/0.0009246, allocations: 166 kB / 25.7 MB, free: 8.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8232/0.8232, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.331e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001487/0.0015, allocations: 1.382 MB / 252.9 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008295/0.009795, allocations: 11.96 MB / 264.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.009819, allocations: 4 kB / 264.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.009836, allocations: 3.938 kB / 264.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01149, allocations: 1.064 MB / 265.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.01225, allocations: 0.664 MB / 266.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.01232, allocations: 59.67 kB / 266.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.01235, allocations: 11.97 kB / 266.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.0124, allocations: 27.97 kB / 266.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.01246, allocations: 31.91 kB / 266.7 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.01248, allocations: 4 kB / 266.7 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.01389, allocations: 1.494 MB / 268.2 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.0139, allocations: 15.86 kB / 268.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.01393, allocations: 23.97 kB / 268.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01497, allocations: 1.239 MB / 269.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01497, allocations: 0 / 269.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01497, allocations: 0 / 269.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.01498, allocations: 0 / 269.5 MB, free: 5.211 MB / 250.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.0004031/0.01538, allocations: 462.5 kB / 270 MB, free: 4.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.01541, allocations: 15.98 kB / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.01549, allocations: 16.91 kB / 270 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.003e-05/0.01557, allocations: 121.7 kB / 270.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.01558, allocations: 4.312 kB / 270.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.01559, allocations: 8.375 kB / 270.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.0157, allocations: 120.1 kB / 270.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.01571, allocations: 192 / 270.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.01572, allocations: 8.125 kB / 270.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.01572, allocations: 0 / 270.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.01576, allocations: 27.91 kB / 270.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.054e-05/0.01584, allocations: 69.94 kB / 270.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.01597, allocations: 57.17 kB / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.01599, allocations: 25.7 kB / 270.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/0.01822, allocations: 1.398 MB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.01824, allocations: 34.56 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.01824, allocations: 0 / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001092/0.01835, allocations: 61.61 kB / 271.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.01838, allocations: 85.05 kB / 272 MB, free: 2.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.01843, allocations: 114.6 kB / 272.1 MB, free: 2.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01844, allocations: 33.69 kB / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.01846, allocations: 84.12 kB / 272.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.01849, allocations: 23.8 kB / 272.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.01852, allocations: 25.69 kB / 272.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.01858, allocations: 314.8 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.01859, allocations: 4 kB / 272.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.01861, allocations: 21.7 kB / 272.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.01865, allocations: 33.62 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01865, allocations: 0 / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.057e-05/0.0187, allocations: 50.14 kB / 272.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01871, allocations: 11.94 kB / 272.7 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.01872, allocations: 0 / 272.7 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.01873, allocations: 7.984 kB / 272.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.829e-05/0.01876, allocations: 8 kB / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01877, allocations: 7.984 kB / 272.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.01879, allocations: 3.938 kB / 272.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.01879, allocations: 0 / 272.7 MB, free: 1.781 MB / 250.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.683e-05/0.01884, allocations: 113.8 kB / 272.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.01885, allocations: 4 kB / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.01896, allocations: 101.8 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01896, allocations: 3.938 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.01896, allocations: 0 / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01896, allocations: 3.938 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.321e-05/0.01903, allocations: 81.81 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.01903, allocations: 0 / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.01905, allocations: 8 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01905, allocations: 0 / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.01906, allocations: 8.125 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.01906, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01906, allocations: 3.984 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.469e-05/0.01912, allocations: 89.86 kB / 273.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.01915, allocations: 7.984 kB / 273.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.01915, allocations: 4 kB / 273.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.01918, allocations: 4 kB / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.0192, allocations: 11.92 kB / 273.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.01921, allocations: 0 / 273.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.416e-05/0.01922, allocations: 20.84 kB / 273.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01922, allocations: 0 / 273.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.0196, allocations: 326.8 kB / 273.5 MB, free: 0.9414 MB / 250.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.0006801/0.02028, allocations: 0.6394 MB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.85e-05/0.02034, allocations: 28.78 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02034, allocations: 0 / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.02036, allocations: 16.84 kB / 274.2 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.237e-05/0.02044, allocations: 16.06 kB / 274.2 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.02086, allocations: 184.4 kB / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.0209, allocations: 59.34 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.02097, allocations: 48.09 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.02104, allocations: 79.36 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02104, allocations: 0 / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Templates: time 0.009954/0.03099, allocations: 10.73 MB / 285.3 MB, free: 5.086 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.358919753693044]