Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 138.5 kB / 24.97 MB, free: 8.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8914/0.8914, allocations: 173.4 MB / 201.5 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 3.984 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.841e-05, allocations: 2.312 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.004897/0.004916, allocations: 1.385 MB / 269.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02141/0.02633, allocations: 11.94 MB / 281.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.02637, allocations: 0 / 281.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.02639, allocations: 3.938 kB / 281.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.03111, allocations: 1.049 MB / 282.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.03217, allocations: 0.6642 MB / 283.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.03227, allocations: 63.64 kB / 283.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.299e-05/0.0323, allocations: 8 kB / 283.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.03235, allocations: 27.97 kB / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.03243, allocations: 39.89 kB / 283.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.03245, allocations: 0 / 283.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.03398, allocations: 1.49 MB / 284.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.03399, allocations: 11.94 kB / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.03402, allocations: 23.97 kB / 284.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.0351, allocations: 1.239 MB / 286 MB, free: 4.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.0351, allocations: 0 / 286 MB, free: 4.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.0351, allocations: 0 / 286 MB, free: 4.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.0351, allocations: 4 kB / 286 MB, free: 4.68 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.0005038/0.03561, allocations: 0.5844 MB / 286.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.03564, allocations: 12.92 kB / 286.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.391e-05/0.03573, allocations: 16.89 kB / 286.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/0.03582, allocations: 116.6 kB / 286.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.03584, allocations: 384 / 286.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.03585, allocations: 4.375 kB / 286.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.03598, allocations: 129.7 kB / 286.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.03599, allocations: 4.172 kB / 286.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.036, allocations: 8.125 kB / 286.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.036, allocations: 4 kB / 286.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.03604, allocations: 19.92 kB / 286.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.03615, allocations: 124.3 kB / 287 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.03639, allocations: 90.19 kB / 287.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.03642, allocations: 27.42 kB / 287.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003068/0.03948, allocations: 1.504 MB / 288.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.03951, allocations: 33.39 kB / 288.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.03951, allocations: 0 / 288.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000205/0.03972, allocations: 77.89 kB / 288.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.03987, allocations: 84.98 kB / 288.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.03997, allocations: 169.9 kB / 289 MB, free: 1.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.03998, allocations: 29.64 kB / 289 MB, free: 1.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.04002, allocations: 134.9 kB / 289.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.04005, allocations: 23.78 kB / 289.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.04009, allocations: 23.38 kB / 289.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.04021, allocations: 0.4923 MB / 289.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.04023, allocations: 4 kB / 289.7 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.04129, allocations: 27.38 kB / 289.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.04134, allocations: 39.39 kB / 289.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.04135, allocations: 0 / 289.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.743e-05/0.04143, allocations: 69.56 kB / 289.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.04144, allocations: 4 kB / 289.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.04145, allocations: 0 / 289.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/0.04149, allocations: 8 kB / 289.9 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.0416, allocations: 11.94 kB / 289.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.04161, allocations: 0 / 289.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.04167, allocations: 7.984 kB / 289.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.04168, allocations: 0 / 289.9 MB, free: 0.5469 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 8.384e-05/0.04176, allocations: 164.5 kB / 290 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.04179, allocations: 4 kB / 290 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.042, allocations: 101.6 kB / 290.1 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.042, allocations: 0 / 290.1 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.042, allocations: 7.938 kB / 290.1 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.04201, allocations: 0 / 290.1 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.068e-05/0.0421, allocations: 136.5 kB / 290.3 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.0421, allocations: 0 / 290.3 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.04214, allocations: 12 kB / 290.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.04214, allocations: 0 / 290.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.04215, allocations: 0 / 290.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.04216, allocations: 4.312 kB / 290.3 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04216, allocations: 3.938 kB / 290.3 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1005/0.1427, allocations: 108.1 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1428, allocations: 12.86 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1428, allocations: 2.812 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1429, allocations: 2.062 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.1429, allocations: 16.3 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1429, allocations: 1.344 kB / 290.4 MB, free: 33.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.143, allocations: 137.5 kB / 290.6 MB, free: 33.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.143, allocations: 0 / 290.6 MB, free: 33.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009622/0.1439, allocations: 324.2 kB / 290.9 MB, free: 33.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.001348/0.1453, allocations: 0.6174 MB / 291.5 MB, free: 33.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1455, allocations: 39.86 kB / 291.5 MB, free: 33.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1455, allocations: 0 / 291.5 MB, free: 33.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.1455, allocations: 23.34 kB / 291.6 MB, free: 33.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1457, allocations: 26.02 kB / 291.6 MB, free: 33.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.1465, allocations: 176 kB / 291.8 MB, free: 33.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.1466, allocations: 60.72 kB / 291.8 MB, free: 32.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1467, allocations: 44.83 kB / 291.9 MB, free: 32.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1467, allocations: 20.88 kB / 291.9 MB, free: 32.98 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1467, allocations: 1.344 kB / 291.9 MB, free: 32.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01259/0.1593, allocations: 9.257 MB / 301.1 MB, free: 29.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9279188241343945]