Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0009202/0.0009202, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.0024, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008949/0.0008949, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002182, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8456/0.8456, allocations: 173.4 MB / 186 MB, free: 7.516 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/0.9942, allocations: 52.48 MB / 238.5 MB, free: 7.602 MB / 234.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 239.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.524e-06/8.746e-06, allocations: 2.312 kB / 239.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001371/0.001379, allocations: 1.441 MB / 241.2 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.01913, allocations: 23.33 MB / 264.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.01916, allocations: 0 / 264.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.01921, allocations: 3.938 kB / 264.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009311/0.02852, allocations: 5.491 MB / 270 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.02909, allocations: 362.4 kB / 270.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.02923, allocations: 79.64 kB / 270.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.02927, allocations: 11.94 kB / 270.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.02938, allocations: 47.89 kB / 270.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.02948, allocations: 35.94 kB / 270.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.0295, allocations: 0 / 270.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.04046, allocations: 8.911 MB / 279.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.04051, allocations: 15.94 kB / 279.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.04054, allocations: 12 kB / 279.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.04628, allocations: 4.179 MB / 283.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.04629, allocations: 0 / 283.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04629, allocations: 0 / 283.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.0463, allocations: 0 / 283.7 MB, free: 10.33 MB / 282.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.001221/0.04752, allocations: 1.182 MB / 284.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.04755, allocations: 16.03 kB / 284.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.04758, allocations: 12.86 kB / 284.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.04768, allocations: 132.5 kB / 285 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.0477, allocations: 4.375 kB / 285 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.04771, allocations: 3.938 kB / 285 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.04783, allocations: 126.3 kB / 285.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.04784, allocations: 0 / 285.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.04785, allocations: 0 / 285.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.04785, allocations: 0 / 285.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.04788, allocations: 25.58 kB / 285.1 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.564e-05/0.04797, allocations: 75.56 kB / 285.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.04812, allocations: 72.47 kB / 285.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.04814, allocations: 21.7 kB / 285.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.04818, allocations: 8 kB / 285.3 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.0482, allocations: 38.56 kB / 285.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.0482, allocations: 0 / 285.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001151/0.04832, allocations: 65.67 kB / 285.4 MB, free: 8.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.04834, allocations: 85.09 kB / 285.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.04841, allocations: 132.3 kB / 285.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.04841, allocations: 25.7 kB / 285.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.04843, allocations: 84.14 kB / 285.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.04846, allocations: 23.78 kB / 285.8 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.04848, allocations: 25.7 kB / 285.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.04855, allocations: 318.8 kB / 286.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.04856, allocations: 6.828 kB / 286.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.04858, allocations: 21.64 kB / 286.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.04861, allocations: 35.36 kB / 286.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.04862, allocations: 0 / 286.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.269e-05/0.04867, allocations: 63.27 kB / 286.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.04868, allocations: 7.938 kB / 286.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.04868, allocations: 0 / 286.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.04869, allocations: 4 kB / 286.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.04874, allocations: 11.98 kB / 286.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.04874, allocations: 0 / 286.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.04876, allocations: 8.125 kB / 286.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.04876, allocations: 0 / 286.3 MB, free: 7.492 MB / 282.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.482e-05/0.04881, allocations: 120.6 kB / 286.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.04882, allocations: 8 kB / 286.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.0489, allocations: 69.53 kB / 286.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.0489, allocations: 0 / 286.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.0489, allocations: 0 / 286.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.04891, allocations: 4 kB / 286.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.04897, allocations: 81.77 kB / 286.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.04897, allocations: 0 / 286.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.04899, allocations: 19.94 kB / 286.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.04902, allocations: 11.98 kB / 286.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.04902, allocations: 0 / 286.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.04902, allocations: 4.359 kB / 286.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.04902, allocations: 4 kB / 286.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.04902, allocations: 0 / 286.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.6e-05/0.04909, allocations: 94.44 kB / 286.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.0491, allocations: 3.984 kB / 286.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.04913, allocations: 4 kB / 286.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.04915, allocations: 11.92 kB / 286.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.04916, allocations: 4 kB / 286.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.04918, allocations: 31.61 kB / 286.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04918, allocations: 0 / 286.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001155/0.05033, allocations: 0.943 MB / 287.7 MB, free: 6.023 MB / 282.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.002468/0.0528, allocations: 1.544 MB / 289.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.522e-05/0.05288, allocations: 28.84 kB / 289.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.05288, allocations: 8 kB / 289.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.05291, allocations: 20.78 kB / 289.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.05305, allocations: 139.4 kB / 289.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.05415, allocations: 193.8 kB / 289.6 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.05418, allocations: 59.34 kB / 289.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.05421, allocations: 12.55 kB / 289.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.05428, allocations: 75.34 kB / 289.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05428, allocations: 0 / 289.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of Templates: time 0.02485/0.07913, allocations: 30.88 MB / 320.6 MB, free: 4.977 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.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: 4.094510057009757]