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.001617/0.001617, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001759/0.001759, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.429/1.429, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.293e-06/1.293e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.846e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002536/0.002554, allocations: 1.352 MB / 326.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01976/0.02231, allocations: 10.71 MB / 337.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.02236, allocations: 4 kB / 337.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.02239, allocations: 0.8125 kB / 337.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.02706, allocations: 1.051 MB / 338.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.02962, allocations: 0.6476 MB / 338.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.02976, allocations: 64.91 kB / 338.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.02981, allocations: 10.23 kB / 338.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.0299, allocations: 37.81 kB / 338.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.03002, allocations: 24.91 kB / 339 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.03004, allocations: 7.719 kB / 339 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.03424, allocations: 1.489 MB / 340.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.03427, allocations: 11.91 kB / 340.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.03433, allocations: 16 kB / 340.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.03747, allocations: 1.247 MB / 341.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.03748, allocations: 4 kB / 341.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03748, allocations: 4 kB / 341.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.03748, allocations: 0 / 341.7 MB, free: 4.445 MB / 302.1 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.0009864/0.03847, allocations: 484.2 kB / 342.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.03851, allocations: 8.031 kB / 342.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.03871, allocations: 12.88 kB / 342.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.03888, allocations: 117.8 kB / 342.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.0389, allocations: 384 / 342.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.03892, allocations: 8.375 kB / 342.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.03918, allocations: 115.3 kB / 342.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.0392, allocations: 4.125 kB / 342.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.03922, allocations: 16.11 kB / 342.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.03923, allocations: 0 / 342.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.03939, allocations: 19.98 kB / 342.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.03962, allocations: 126.2 kB / 342.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.04002, allocations: 73.12 kB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.04013, allocations: 25.77 kB / 342.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008398/0.04853, allocations: 1.505 MB / 344.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.04857, allocations: 34.56 kB / 344.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.04857, allocations: 0 / 344.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004786/0.04905, allocations: 81.59 kB / 344.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.04913, allocations: 81.05 kB / 344.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.04928, allocations: 125.8 kB / 344.5 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.04931, allocations: 25.7 kB / 344.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.04937, allocations: 84.14 kB / 344.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.04941, allocations: 27.78 kB / 344.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.04947, allocations: 17.72 kB / 344.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.04966, allocations: 318.8 kB / 345 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.04974, allocations: 11.94 kB / 345 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.04984, allocations: 25.7 kB / 345 MB, free: 0.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.05002, allocations: 42.08 kB / 345.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.05002, allocations: 0 / 345.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002847/0.05031, allocations: 73.55 kB / 345.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.05033, allocations: 8 kB / 345.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.05033, allocations: 0 / 345.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.05036, allocations: 4 kB / 345.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.05047, allocations: 19.92 kB / 345.2 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.05047, allocations: 3.938 kB / 345.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.05055, allocations: 4.125 kB / 345.2 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.05057, allocations: 4 kB / 345.2 MB, free: 0.75 MB / 302.1 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 0.0001277/0.05069, allocations: 113.8 kB / 345.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.05073, allocations: 11.95 kB / 345.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.05113, allocations: 105.9 kB / 345.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.05114, allocations: 0 / 345.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.05114, allocations: 3.938 kB / 345.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.05115, allocations: 0 / 345.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.05132, allocations: 113.3 kB / 345.5 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.05132, allocations: 4 kB / 345.5 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.05143, allocations: 11.98 kB / 345.6 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.05144, allocations: 0 / 345.6 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.05145, allocations: 0 / 345.6 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.05145, allocations: 8 kB / 345.6 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.05145, allocations: 3.938 kB / 345.6 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.05173, allocations: 101.9 kB / 345.7 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.05177, allocations: 11.98 kB / 345.7 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.05179, allocations: 0 / 345.7 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.05189, allocations: 4 kB / 345.7 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.05195, allocations: 11.92 kB / 345.7 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.05196, allocations: 4 kB / 345.7 MB, free: 188 kB / 302.1 MB Notification: Performance of sorting global known variables: time 7.662e-05/0.05204, allocations: 91.27 kB / 345.8 MB, free: 96 kB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05204, allocations: 0 / 345.8 MB, free: 96 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009677/0.053, allocations: 334.8 kB / 346.1 MB, free: 15.77 MB / 318.1 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.001283/0.05429, allocations: 0.6228 MB / 346.7 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.05448, allocations: 27.98 kB / 346.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.05448, allocations: 0 / 346.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.05456, allocations: 27.92 kB / 346.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.05476, allocations: 15.98 kB / 346.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.05518, allocations: 149.6 kB / 347 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.388e-05/0.05526, allocations: 67.28 kB / 347 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.05537, allocations: 52.09 kB / 347.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.05543, allocations: 24.48 kB / 347.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.05543, allocations: 3.938 kB / 347.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of Templates: time 0.01561/0.07103, allocations: 9.121 MB / 356.2 MB, free: 5.602 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.347719807177782]