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.001948/0.001948, allocations: 104.7 kB / 20.48 MB, free: 1.129 MB / 14.72 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.002472/0.002472, allocations: 193.7 kB / 23.76 MB, free: 4.336 MB / 14.72 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 1.501/1.501, allocations: 225.7 MB / 252.6 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002622/0.002622, allocations: 47.92 kB / 371 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2554, allocations: 52.18 MB / 423.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002406/0.2578, allocations: 1.35 MB / 424.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03035/0.2882, allocations: 21.1 MB / 445.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.2882, allocations: 0 / 445.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2883, allocations: 11.92 kB / 445.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.3035, allocations: 5.921 MB / 451.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.3044, allocations: 382.7 kB / 451.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3045, allocations: 75.59 kB / 452 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.3045, allocations: 0 / 452 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.3046, allocations: 35.89 kB / 452 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.3047, allocations: 39.83 kB / 452.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3047, allocations: 4 kB / 452.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.3214, allocations: 8.359 MB / 460.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3214, allocations: 15.92 kB / 460.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3215, allocations: 19.94 kB / 460.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009654/0.3312, allocations: 4.311 MB / 464.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3312, allocations: 0 / 464.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3312, allocations: 4 kB / 464.8 MB, free: 4.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3312, allocations: 0 / 464.8 MB, free: 4.703 MB / 366.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.002082/0.3333, allocations: 0.8602 MB / 465.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3333, allocations: 12.03 kB / 465.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.3333, allocations: 4.891 kB / 465.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3335, allocations: 142 kB / 465.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3335, allocations: 0 / 465.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3335, allocations: 4 kB / 465.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3338, allocations: 122.8 kB / 465.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3338, allocations: 0 / 465.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3338, allocations: 8 kB / 465.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3338, allocations: 4 kB / 465.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3339, allocations: 43.89 kB / 466 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.3341, allocations: 138.1 kB / 466.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3344, allocations: 93.17 kB / 466.2 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.3345, allocations: 33.72 kB / 466.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.3345, allocations: 11.98 kB / 466.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3346, allocations: 30.56 kB / 466.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3346, allocations: 8 kB / 466.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000306/0.3349, allocations: 93.59 kB / 466.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3349, allocations: 85.11 kB / 466.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3351, allocations: 137.8 kB / 466.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3351, allocations: 29.64 kB / 466.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3351, allocations: 92.12 kB / 466.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3352, allocations: 19.84 kB / 466.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.3352, allocations: 21.72 kB / 466.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3353, allocations: 318.8 kB / 467.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.3354, allocations: 23.98 kB / 467.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.3355, allocations: 29.7 kB / 467.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3356, allocations: 49.64 kB / 467.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3356, allocations: 0 / 467.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.3358, allocations: 85.56 kB / 467.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3358, allocations: 7.984 kB / 467.3 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3358, allocations: 4 kB / 467.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3358, allocations: 0 / 467.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.3359, allocations: 8 kB / 467.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3359, allocations: 4 kB / 467.3 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.3359, allocations: 4 kB / 467.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.336, allocations: 0 / 467.3 MB, free: 1.98 MB / 366.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 9.671e-05/0.336, allocations: 125.7 kB / 467.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3361, allocations: 7.953 kB / 467.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3363, allocations: 102.1 kB / 467.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3363, allocations: 4 kB / 467.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3363, allocations: 0 / 467.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3363, allocations: 3.984 kB / 467.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.3364, allocations: 125.2 kB / 467.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3364, allocations: 0 / 467.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.3365, allocations: 8 kB / 467.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3365, allocations: 4 kB / 467.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3365, allocations: 4 kB / 467.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3365, allocations: 3.938 kB / 467.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3365, allocations: 0 / 467.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.3367, allocations: 122 kB / 467.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3368, allocations: 15.95 kB / 467.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3368, allocations: 3.984 kB / 467.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3369, allocations: 8 kB / 467.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3369, allocations: 3.984 kB / 467.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3369, allocations: 8 kB / 467.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.337, allocations: 115.5 kB / 467.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.337, allocations: 0 / 467.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002182/0.3392, allocations: 0.9469 MB / 468.9 MB, free: 324 kB / 366.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.003911/0.3431, allocations: 1.334 MB / 470.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3433, allocations: 43.97 kB / 470.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3433, allocations: 0 / 470.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.3434, allocations: 28.2 kB / 470.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3437, allocations: 27.98 kB / 470.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3441, allocations: 184.9 kB / 470.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.3442, allocations: 67.44 kB / 470.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.3442, allocations: 15.95 kB / 470.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.3443, allocations: 20.5 kB / 470.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3443, allocations: 0 / 470.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.03982/0.3841, allocations: 27.16 MB / 497.7 MB, free: 3.379 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.74422326311469]