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.0009764/0.0009764, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.0009972/0.0009972, allocations: 158.9 kB / 25.75 MB, free: 8.582 MB / 18.57 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 0.8176/0.8176, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.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.442e-06/1.442e-06, allocations: 0 / 251.1 MB, free: 7.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.015e-05, allocations: 6.25 kB / 251.1 MB, free: 7.898 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001526/0.001546, allocations: 1.389 MB / 252.5 MB, free: 6.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009173/0.01072, allocations: 11.96 MB / 264.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.01076, allocations: 0 / 264.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.01078, allocations: 3.938 kB / 264.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.01333, allocations: 1.041 MB / 265.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.01456, allocations: 0.6564 MB / 266.2 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.01464, allocations: 63.66 kB / 266.2 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.01468, allocations: 4 kB / 266.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.01473, allocations: 43.83 kB / 266.3 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.0148, allocations: 23.95 kB / 266.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.01481, allocations: 4 kB / 266.3 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.0163, allocations: 1.494 MB / 267.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.01631, allocations: 12 kB / 267.8 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.01634, allocations: 23.91 kB / 267.8 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.01744, allocations: 1.239 MB / 269.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01744, allocations: 4 kB / 269.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01744, allocations: 0 / 269.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.01745, allocations: 0 / 269.1 MB, free: 5.855 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.000487/0.01794, allocations: 0.5725 MB / 269.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.01797, allocations: 11.98 kB / 269.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.01808, allocations: 12.89 kB / 269.7 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.0182, allocations: 128.5 kB / 269.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.01822, allocations: 384 / 269.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.01823, allocations: 8.375 kB / 269.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.01841, allocations: 133.7 kB / 269.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.01842, allocations: 8.109 kB / 269.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.01843, allocations: 4.125 kB / 269.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01844, allocations: 0 / 269.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.01848, allocations: 11.98 kB / 269.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.01863, allocations: 140.2 kB / 270.1 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.01883, allocations: 86.19 kB / 270.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.01886, allocations: 31.42 kB / 270.2 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002656/0.02152, allocations: 1.5 MB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.02154, allocations: 45.33 kB / 271.7 MB, free: 3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.02154, allocations: 0 / 271.7 MB, free: 3 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001768/0.02172, allocations: 69.94 kB / 271.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.02175, allocations: 88.98 kB / 271.9 MB, free: 2.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.02183, allocations: 173.9 kB / 272.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.02184, allocations: 25.7 kB / 272.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.02212, allocations: 126.9 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.02215, allocations: 27.78 kB / 272.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.02218, allocations: 23.38 kB / 272.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.02227, allocations: 0.4884 MB / 272.8 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.02229, allocations: 8 kB / 272.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.02232, allocations: 19.38 kB / 272.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.02237, allocations: 43.48 kB / 272.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.02237, allocations: 8 kB / 272.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.968e-05/0.02245, allocations: 65.56 kB / 272.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.02246, allocations: 4 kB / 272.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.02247, allocations: 0 / 272.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.02248, allocations: 0 / 272.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.02253, allocations: 19.88 kB / 272.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.02253, allocations: 0 / 272.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.02255, allocations: 3.984 kB / 272.9 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.02256, allocations: 8 kB / 272.9 MB, free: 1.715 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 5.744e-05/0.02262, allocations: 160.6 kB / 273.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.02263, allocations: 11.89 kB / 273.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.02277, allocations: 93.56 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02277, allocations: 4 kB / 273.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.02278, allocations: 3.938 kB / 273.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02278, allocations: 0 / 273.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.02285, allocations: 120.6 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.02285, allocations: 4 kB / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.02288, allocations: 11.94 kB / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.02288, allocations: 4 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.02289, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.02289, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02289, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.02299, allocations: 112.3 kB / 273.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.02301, allocations: 15.92 kB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.02302, allocations: 4 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.864e-05/0.02305, allocations: 0 / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.02309, allocations: 23.91 kB / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.0231, allocations: 4 kB / 273.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.02314, allocations: 143.4 kB / 273.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02314, allocations: 0 / 273.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.02358, allocations: 326.8 kB / 273.9 MB, free: 0.6094 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.0007373/0.02431, allocations: 0.6112 MB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.02441, allocations: 39.66 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02441, allocations: 4 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.02444, allocations: 27.55 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.02458, allocations: 15.98 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.02511, allocations: 184.9 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.77e-05/0.02514, allocations: 55.36 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.02521, allocations: 43.88 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.02525, allocations: 24.48 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02525, allocations: 4 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.009076/0.03433, allocations: 9.243 MB / 284.2 MB, free: 6.297 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8154609710909426]