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.0009082/0.0009082, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0008339/0.0008339, allocations: 145.5 kB / 24.55 MB, free: 32 kB / 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.9067/0.9067, allocations: 173.3 MB / 201.1 MB, free: 9.332 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 1.283e-06/1.283e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.117e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001594/0.001616, allocations: 1.381 MB / 269.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008999/0.01061, allocations: 11.98 MB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.01065, allocations: 0 / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.01068, allocations: 7.922 kB / 281.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.01302, allocations: 1.049 MB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.01423, allocations: 0.6681 MB / 283.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.01433, allocations: 59.66 kB / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.01436, allocations: 11.98 kB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.01442, allocations: 27.97 kB / 283.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.01449, allocations: 31.89 kB / 283.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.01451, allocations: 4 kB / 283.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.0164, allocations: 1.49 MB / 284.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.01642, allocations: 11.92 kB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.01645, allocations: 23.97 kB / 284.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.0182, allocations: 1.247 MB / 286 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01821, allocations: 0 / 286 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.01821, allocations: 3.938 kB / 286 MB, free: 4.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.01821, allocations: 0 / 286 MB, free: 4.371 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.0005977/0.01881, allocations: 0.5728 MB / 286.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01885, allocations: 8.922 kB / 286.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01896, allocations: 20.88 kB / 286.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.01906, allocations: 124.5 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.01907, allocations: 384 / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.01909, allocations: 4.375 kB / 286.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.01925, allocations: 133.7 kB / 286.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.01925, allocations: 192 / 286.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.01926, allocations: 4.125 kB / 286.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.01927, allocations: 0 / 286.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.01931, allocations: 19.92 kB / 286.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.01944, allocations: 132.4 kB / 287 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.01963, allocations: 94.09 kB / 287.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.01966, allocations: 19.44 kB / 287.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002835/0.02249, allocations: 1.504 MB / 288.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.02252, allocations: 37.39 kB / 288.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.02252, allocations: 0 / 288.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002012/0.02272, allocations: 73.56 kB / 288.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.02276, allocations: 85.05 kB / 288.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.02284, allocations: 181.8 kB / 289 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.02285, allocations: 25.7 kB / 289 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.02288, allocations: 130.9 kB / 289.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.02291, allocations: 27.73 kB / 289.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.02295, allocations: 23.36 kB / 289.2 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.02306, allocations: 0.4884 MB / 289.7 MB, free: 444 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.02308, allocations: 4 kB / 289.7 MB, free: 440 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.02311, allocations: 27.36 kB / 289.7 MB, free: 404 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.02317, allocations: 35.36 kB / 289.7 MB, free: 360 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02317, allocations: 4 kB / 289.7 MB, free: 356 kB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.154e-05/0.02325, allocations: 66 kB / 289.8 MB, free: 284 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.02326, allocations: 8 kB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02327, allocations: 0 / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.02328, allocations: 0 / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.02333, allocations: 15.92 kB / 289.8 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.02334, allocations: 4.125 kB / 289.8 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.02336, allocations: 4.047 kB / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.02338, allocations: 7.984 kB / 289.8 MB, free: 244 kB / 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 7.225e-05/0.02345, allocations: 164.5 kB / 290 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.02346, allocations: 7.984 kB / 290 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1029/0.1263, allocations: 91.88 kB / 290.1 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1263, allocations: 1.562 kB / 290.1 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1263, allocations: 3.875 kB / 290.1 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1263, allocations: 1.125 kB / 290.1 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1264, allocations: 127.8 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1264, allocations: 0 / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.1265, allocations: 10.12 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1265, allocations: 3.219 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1265, allocations: 1.406 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1265, allocations: 7.938 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1265, allocations: 2.656 kB / 290.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.1267, allocations: 103 kB / 290.3 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1267, allocations: 18.8 kB / 290.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1267, allocations: 3.594 kB / 290.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.1268, allocations: 2.578 kB / 290.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1268, allocations: 9.375 kB / 290.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1268, allocations: 7.969 kB / 290.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.1268, allocations: 133.9 kB / 290.5 MB, free: 20.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1268, allocations: 0 / 290.5 MB, free: 20.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.1276, allocations: 327.5 kB / 290.8 MB, free: 20.89 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.001006/0.1286, allocations: 0.6259 MB / 291.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1288, allocations: 32.69 kB / 291.5 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1288, allocations: 1.125 kB / 291.5 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.1288, allocations: 25.47 kB / 291.5 MB, free: 20.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.129, allocations: 24.59 kB / 291.5 MB, free: 20.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.1296, allocations: 170.3 kB / 291.7 MB, free: 20.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.398e-05/0.1296, allocations: 58.38 kB / 291.8 MB, free: 20.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.1297, allocations: 48.81 kB / 291.8 MB, free: 20.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.1298, allocations: 22 kB / 291.8 MB, free: 20.55 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1298, allocations: 1.906 kB / 291.8 MB, free: 20.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01521/0.145, allocations: 11.47 MB / 303.3 MB, free: 17.15 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.633070452604443]