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.001017/0.001017, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001011/0.001011, allocations: 166.9 kB / 25.33 MB, free: 8.586 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.9161/0.9161, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.182e-06/1.182e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.608e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001563/0.001579, allocations: 1.382 MB / 252.4 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.01076, allocations: 11.99 MB / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.01079, allocations: 0 / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.01081, allocations: 0 / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.01331, allocations: 1.049 MB / 265.5 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.01476, allocations: 0.6602 MB / 266.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.01485, allocations: 63.66 kB / 266.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.01488, allocations: 4 kB / 266.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.01494, allocations: 39.89 kB / 266.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.01502, allocations: 27.95 kB / 266.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.01503, allocations: 0 / 266.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.01695, allocations: 1.498 MB / 267.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.01696, allocations: 8 kB / 267.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.017, allocations: 19.92 kB / 267.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.01844, allocations: 1.251 MB / 269 MB, free: 5.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01844, allocations: 4 kB / 269 MB, free: 5.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01844, allocations: 0 / 269 MB, free: 5.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01845, allocations: 0 / 269 MB, free: 5.445 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.0005845/0.01903, allocations: 0.5725 MB / 269.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.01907, allocations: 11.98 kB / 269.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.01919, allocations: 12.89 kB / 269.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.01929, allocations: 124.5 kB / 269.7 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.01932, allocations: 4.375 kB / 269.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.01933, allocations: 8.375 kB / 269.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.01949, allocations: 129.7 kB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.0195, allocations: 4.188 kB / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.01952, allocations: 8.125 kB / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01953, allocations: 0 / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.01957, allocations: 15.92 kB / 269.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.01971, allocations: 132.3 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.01993, allocations: 90.19 kB / 270.1 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.01996, allocations: 27.42 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002731/0.02269, allocations: 1.508 MB / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.02272, allocations: 45.33 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.02272, allocations: 0 / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001783/0.0229, allocations: 65.61 kB / 271.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.02293, allocations: 81.05 kB / 271.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.02301, allocations: 177.9 kB / 272 MB, free: 2.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.02303, allocations: 29.7 kB / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.02307, allocations: 130.9 kB / 272.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.0231, allocations: 23.78 kB / 272.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.02313, allocations: 23.38 kB / 272.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.02326, allocations: 496.1 kB / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.02328, allocations: 11.98 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.02331, allocations: 23.38 kB / 272.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.02337, allocations: 43.3 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02337, allocations: 0 / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.657e-05/0.02346, allocations: 65.62 kB / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.02347, allocations: 8 kB / 272.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.02347, allocations: 0 / 272.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.02349, allocations: 0 / 272.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.02354, allocations: 15.88 kB / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.02355, allocations: 4 kB / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.02357, allocations: 0 / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.02359, allocations: 7.984 kB / 272.9 MB, free: 1.312 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 6.866e-05/0.02366, allocations: 160.5 kB / 273 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.02367, allocations: 11.95 kB / 273.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.02385, allocations: 98.08 kB / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.02386, allocations: 0 / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.02386, allocations: 7.922 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02387, allocations: 4 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.209e-05/0.02394, allocations: 124.5 kB / 273.3 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.02394, allocations: 0 / 273.3 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.02397, allocations: 11.98 kB / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02397, allocations: 0 / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.02398, allocations: 8 kB / 273.3 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.02398, allocations: 320 / 273.3 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02398, allocations: 0 / 273.3 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.02408, allocations: 116 kB / 273.4 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.02411, allocations: 7.984 kB / 273.4 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.02412, allocations: 0 / 273.4 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.02415, allocations: 11.94 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.02419, allocations: 11.92 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.0242, allocations: 192 / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.02424, allocations: 139.2 kB / 273.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02424, allocations: 4 kB / 273.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004717/0.02471, allocations: 326.8 kB / 273.9 MB, free: 212 kB / 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.001107/0.02582, allocations: 0.6227 MB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.02592, allocations: 35.61 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02592, allocations: 3.938 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.02595, allocations: 27.67 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.0261, allocations: 19.94 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.02666, allocations: 180.9 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.0267, allocations: 55.36 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.02677, allocations: 52.09 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.02681, allocations: 20.48 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02681, allocations: 0 / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of Templates: time 0.009661/0.03647, allocations: 9.251 MB / 284.2 MB, free: 5.879 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: 4.071999608073384]