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.0009812/0.0009812, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.002556, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008823/0.0008823, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002074, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.01/1.01, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1861/1.196, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.593e-06/1.593e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.773e-05, allocations: 5.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002952/0.00298, allocations: 1.433 MB / 223.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.01734, allocations: 12 MB / 235.4 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.01737, allocations: 0 / 235.4 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.01738, allocations: 0 / 235.4 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.01985, allocations: 1.002 MB / 236.4 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.02085, allocations: 0.6328 MB / 237.1 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.02093, allocations: 67.66 kB / 237.1 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.02096, allocations: 8 kB / 237.1 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.02104, allocations: 43.89 kB / 237.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.0211, allocations: 31.95 kB / 237.2 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.02112, allocations: 4 kB / 237.2 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.0229, allocations: 1.572 MB / 238.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.02292, allocations: 7.938 kB / 238.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.02294, allocations: 19.94 kB / 238.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009941/0.02393, allocations: 1.056 MB / 239.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.02394, allocations: 0 / 239.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02394, allocations: 4 kB / 239.9 MB, free: 14.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.02395, allocations: 4 kB / 239.9 MB, free: 14.09 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.0004299/0.02438, allocations: 0.5493 MB / 240.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.425e-05/0.02441, allocations: 12.03 kB / 240.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.0245, allocations: 86.03 kB / 240.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.191e-05/0.02457, allocations: 129.7 kB / 240.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.02458, allocations: 4.312 kB / 240.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.02459, allocations: 4.375 kB / 240.7 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.02468, allocations: 128 kB / 240.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-06/0.02468, allocations: 192 / 240.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.02469, allocations: 12.12 kB / 240.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-06/0.02469, allocations: 0 / 240.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.02472, allocations: 19.91 kB / 240.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.311e-05/0.02479, allocations: 70 kB / 240.9 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.02491, allocations: 69.11 kB / 240.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.02493, allocations: 17.7 kB / 241 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.02744, allocations: 1.406 MB / 242.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.02746, allocations: 30.56 kB / 242.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.02746, allocations: 0 / 242.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 9.206e-05/0.02755, allocations: 65.61 kB / 242.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.02757, allocations: 77.11 kB / 242.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.02762, allocations: 122.6 kB / 242.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.02763, allocations: 25.7 kB / 242.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.02765, allocations: 88.12 kB / 242.8 MB, free: 11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.02768, allocations: 27.78 kB / 242.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.0277, allocations: 13.72 kB / 242.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.02777, allocations: 322.8 kB / 243.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.02778, allocations: 8 kB / 243.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.0278, allocations: 13.72 kB / 243.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.02784, allocations: 37.61 kB / 243.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.02784, allocations: 4 kB / 243.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.728e-05/0.02788, allocations: 46.06 kB / 243.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.02789, allocations: 11.94 kB / 243.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.0279, allocations: 3.984 kB / 243.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.0279, allocations: 96 / 243.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.02794, allocations: 19.92 kB / 243.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.02794, allocations: 0 / 243.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.02796, allocations: 11.92 kB / 243.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.02797, allocations: 0 / 243.3 MB, free: 10.45 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.604e-05/0.02801, allocations: 113.8 kB / 243.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.02802, allocations: 4 kB / 243.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.02812, allocations: 93.56 kB / 243.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.02812, allocations: 3.938 kB / 243.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.02812, allocations: 0 / 243.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.02813, allocations: 3.938 kB / 243.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.02818, allocations: 77.84 kB / 243.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02818, allocations: 3.984 kB / 243.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.02821, allocations: 12 kB / 243.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.02823, allocations: 15.92 kB / 243.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.02823, allocations: 0 / 243.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.02824, allocations: 4 kB / 243.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.02824, allocations: 4 kB / 243.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.02824, allocations: 0 / 243.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.253e-05/0.0283, allocations: 85.97 kB / 243.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.02831, allocations: 8.062 kB / 243.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.02833, allocations: 0 / 243.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.02835, allocations: 7.984 kB / 243.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.02836, allocations: 4 kB / 243.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.472e-05/0.02837, allocations: 20.84 kB / 243.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.02837, allocations: 0 / 243.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.02875, allocations: 330.8 kB / 244.1 MB, free: 9.617 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.0007153/0.02946, allocations: 0.6354 MB / 244.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.507e-05/0.02952, allocations: 28.84 kB / 244.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02952, allocations: 0 / 244.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.02955, allocations: 28.78 kB / 244.7 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.762e-05/0.02965, allocations: 83.83 kB / 244.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.03066, allocations: 180.5 kB / 245 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.03068, allocations: 59.34 kB / 245.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.03075, allocations: 51.86 kB / 245.1 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.03081, allocations: 75.36 kB / 245.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of SimCode: time 3.91e-07/0.03081, allocations: 0 / 245.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of Templates: time 0.009616/0.04043, allocations: 9.978 MB / 255.2 MB, free: 14.43 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4906502412632108]