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.001081/0.001081, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002412, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001039/0.001039, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.00233, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9875/0.9875, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07916/1.067, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.282e-06/1.282e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.804e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002642/0.00266, allocations: 1.434 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.01618, allocations: 12.04 MB / 258 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.01623, allocations: 0 / 258 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.01625, allocations: 3.984 kB / 258 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.01975, allocations: 0.9979 MB / 259 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.02176, allocations: 0.6328 MB / 259.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.02192, allocations: 67.64 kB / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.02197, allocations: 4 kB / 259.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.0221, allocations: 51.89 kB / 259.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.0222, allocations: 23.97 kB / 259.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.02221, allocations: 4 kB / 259.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.02582, allocations: 1.58 MB / 261.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.02584, allocations: 4 kB / 261.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.02588, allocations: 15.94 kB / 261.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.02816, allocations: 1.068 MB / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.002e-05/0.02818, allocations: 0 / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02818, allocations: 0 / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.02821, allocations: 0 / 262.4 MB, free: 12.33 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.0009355/0.02914, allocations: 0.5532 MB / 263 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.02918, allocations: 8.031 kB / 263 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.02935, allocations: 94.03 kB / 263.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.02946, allocations: 125.7 kB / 263.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.02949, allocations: 8.375 kB / 263.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.0295, allocations: 4.375 kB / 263.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.02968, allocations: 124 kB / 263.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.02969, allocations: 4.172 kB / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.0297, allocations: 8.125 kB / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.0297, allocations: 0 / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.02974, allocations: 11.98 kB / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.02986, allocations: 65.91 kB / 263.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.03006, allocations: 73.14 kB / 263.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.03009, allocations: 17.72 kB / 263.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/0.03498, allocations: 1.398 MB / 264.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.03502, allocations: 46.48 kB / 265 MB, free: 9.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.03503, allocations: 4 kB / 265 MB, free: 9.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002244/0.03525, allocations: 57.61 kB / 265 MB, free: 9.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.03529, allocations: 81.11 kB / 265.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.0354, allocations: 114.6 kB / 265.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.03541, allocations: 33.7 kB / 265.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.03544, allocations: 84.12 kB / 265.3 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.03548, allocations: 19.8 kB / 265.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.03551, allocations: 21.7 kB / 265.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.03563, allocations: 318.8 kB / 265.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.03565, allocations: 8 kB / 265.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.03568, allocations: 21.7 kB / 265.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.03574, allocations: 37.98 kB / 265.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03574, allocations: 0 / 265.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.443e-05/0.03582, allocations: 49.67 kB / 265.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.03584, allocations: 10.97 kB / 265.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.03585, allocations: 0 / 265.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.03586, allocations: 0 / 265.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.03593, allocations: 19.92 kB / 265.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.03594, allocations: 4.312 kB / 265.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.03598, allocations: 11.94 kB / 265.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.03599, allocations: 0 / 265.9 MB, free: 8.699 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 6.343e-05/0.03606, allocations: 109.8 kB / 266 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.03607, allocations: 7.984 kB / 266 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.03625, allocations: 85.56 kB / 266.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.03625, allocations: 4 kB / 266.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.03626, allocations: 4 kB / 266.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.03626, allocations: 7.922 kB / 266.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.03635, allocations: 77.8 kB / 266.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.03636, allocations: 0 / 266.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.03641, allocations: 19.92 kB / 266.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.03645, allocations: 19.91 kB / 266.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.03645, allocations: 4 kB / 266.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.03646, allocations: 0 / 266.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.03646, allocations: 0 / 266.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03646, allocations: 0 / 266.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.03657, allocations: 89.91 kB / 266.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.03658, allocations: 4 kB / 266.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.03663, allocations: 0 / 266.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.03667, allocations: 15.92 kB / 266.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.03667, allocations: 192 / 266.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.0367, allocations: 16.84 kB / 266.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0367, allocations: 0 / 266.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008525/0.03755, allocations: 326.8 kB / 266.6 MB, free: 7.863 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.001082/0.03863, allocations: 0.6356 MB / 267.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.03874, allocations: 44.75 kB / 267.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.03874, allocations: 4 kB / 267.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.03877, allocations: 12.86 kB / 267.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.03892, allocations: 27.94 kB / 267.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.04067, allocations: 173.3 kB / 267.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.0407, allocations: 63.34 kB / 267.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.04081, allocations: 52.09 kB / 267.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.04091, allocations: 67.36 kB / 267.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.04091, allocations: 0 / 267.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of Templates: time 0.1061/0.147, allocations: 10.78 MB / 278.5 MB, free: 13.98 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 -emit_protected -ignoreHideResult -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.542307543568313]