Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001337/0.001337, allocations: 88.47 kB / 21.44 MB, free: 276 kB / 14.72 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.001608/0.001608, allocations: 163.3 kB / 24.71 MB, free: 3.527 MB / 14.72 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.348/1.348, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.382e-06, allocations: 4 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.451e-05, allocations: 2.281 kB / 298.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002309/0.002344, allocations: 1.334 MB / 300.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03074/0.03309, allocations: 21.23 MB / 321.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.03314, allocations: 0 / 321.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.03327, allocations: 11.86 kB / 321.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1873/0.2206, allocations: 5.67 MB / 327.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.2215, allocations: 369 kB / 327.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2217, allocations: 81.97 kB / 327.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.2217, allocations: 7.641 kB / 327.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.2218, allocations: 45.11 kB / 327.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.222, allocations: 30.11 kB / 327.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.222, allocations: 4.406 kB / 327.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/0.2397, allocations: 8.27 MB / 336 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.2397, allocations: 16.08 kB / 336 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.2398, allocations: 23.94 kB / 336 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.254, allocations: 5.439 MB / 341.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.254, allocations: 4 kB / 341.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.254, allocations: 0 / 341.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.254, allocations: 0 / 341.5 MB, free: 11.61 MB / 302.1 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.002654/0.2567, allocations: 0.8514 MB / 342.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2567, allocations: 14.7 kB / 342.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.2568, allocations: 12.48 kB / 342.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2569, allocations: 135.4 kB / 342.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2569, allocations: 3.656 kB / 342.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2569, allocations: 6.906 kB / 342.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2571, allocations: 128.1 kB / 342.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2571, allocations: 3.562 kB / 342.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2571, allocations: 0 / 342.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2571, allocations: 0.6562 kB / 342.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2572, allocations: 33.89 kB / 342.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.2574, allocations: 130 kB / 342.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2577, allocations: 92.69 kB / 342.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.2577, allocations: 32.7 kB / 342.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.2578, allocations: 13.05 kB / 342.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2578, allocations: 38.09 kB / 343 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2578, allocations: 3.938 kB / 343 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000303/0.2581, allocations: 105.1 kB / 343.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2581, allocations: 81.11 kB / 343.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2582, allocations: 140.1 kB / 343.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2583, allocations: 25.7 kB / 343.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.2583, allocations: 91.75 kB / 343.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2583, allocations: 15.84 kB / 343.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.2583, allocations: 27.86 kB / 343.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.2584, allocations: 318.3 kB / 343.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.2585, allocations: 15.06 kB / 343.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.2585, allocations: 28.11 kB / 343.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.2586, allocations: 57.84 kB / 343.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2586, allocations: 3.5 kB / 343.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001688/0.2588, allocations: 79.7 kB / 343.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2588, allocations: 10.94 kB / 343.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2588, allocations: 4 kB / 343.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2588, allocations: 0 / 343.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.2589, allocations: 13.42 kB / 344 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2589, allocations: 1.5 kB / 344 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.2589, allocations: 2.531 kB / 344 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2589, allocations: 0 / 344 MB, free: 9.523 MB / 302.1 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.452e-05/0.259, allocations: 117.5 kB / 344.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.259, allocations: 15.78 kB / 344.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.2593, allocations: 99.03 kB / 344.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2593, allocations: 5.656 kB / 344.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2593, allocations: 1.156 kB / 344.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2593, allocations: 0 / 344.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.2593, allocations: 123.5 kB / 344.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2594, allocations: 3.984 kB / 344.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.2594, allocations: 10.25 kB / 344.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2594, allocations: 1.562 kB / 344.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.2594, allocations: 1.625 kB / 344.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2594, allocations: 4.312 kB / 344.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2594, allocations: 1.594 kB / 344.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.2596, allocations: 114.4 kB / 344.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.2596, allocations: 11.44 kB / 344.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2597, allocations: 7.406 kB / 344.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.2597, allocations: 11.92 kB / 344.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.2598, allocations: 11.17 kB / 344.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2598, allocations: 3.969 kB / 344.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.2598, allocations: 108.5 kB / 344.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2598, allocations: 0 / 344.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002872/0.2627, allocations: 0.9367 MB / 345.5 MB, free: 8.762 MB / 302.1 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.005434/0.2681, allocations: 1.49 MB / 347 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.2684, allocations: 43.06 kB / 347.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.2684, allocations: 6.688 kB / 347.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.2685, allocations: 22.61 kB / 347.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2688, allocations: 25.08 kB / 347.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2692, allocations: 183.5 kB / 347.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.2692, allocations: 67.59 kB / 347.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.2693, allocations: 10.27 kB / 347.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.2693, allocations: 25.64 kB / 347.4 MB, free: 8 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2693, allocations: 0 / 347.4 MB, free: 8 MB / 302.1 MB Notification: Performance of Templates: time 0.0428/0.3121, allocations: 28.82 MB / 376.2 MB, free: 12.34 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56634172797203]