Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001428/0.001428, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 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.001506/0.001506, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.0967, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002494/0.0992, allocations: 1.379 MB / 428.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2098/0.309, allocations: 23.69 MB / 451.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.3091, allocations: 1.219 kB / 451.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3092, allocations: 10.66 kB / 451.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01733/0.3265, allocations: 6.016 MB / 457.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.3274, allocations: 337.5 kB / 458.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3275, allocations: 92.44 kB / 458.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.3275, allocations: 2.062 kB / 458.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.3276, allocations: 35.97 kB / 458.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.3277, allocations: 34.89 kB / 458.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3277, allocations: 7.953 kB / 458.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.3448, allocations: 9.003 MB / 467.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.3449, allocations: 14.77 kB / 467.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.3449, allocations: 23.48 kB / 467.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.3566, allocations: 4.394 MB / 471.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3566, allocations: 0 / 471.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3566, allocations: 0 / 471.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3566, allocations: 0 / 471.8 MB, free: 2.148 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.002931/0.3595, allocations: 0.946 MB / 472.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3596, allocations: 11.98 kB / 472.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.3596, allocations: 12.73 kB / 472.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3599, allocations: 199.7 kB / 473 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3599, allocations: 6.656 kB / 473 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3599, allocations: 1.344 kB / 473 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3601, allocations: 76.19 kB / 473.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3601, allocations: 0 / 473.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3601, allocations: 4 kB / 473.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3601, allocations: 2.531 kB / 473.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3603, allocations: 30.33 kB / 473.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.3605, allocations: 190.7 kB / 473.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3608, allocations: 102.1 kB / 473.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.3609, allocations: 32.11 kB / 473.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.361, allocations: 10.66 kB / 473.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.361, allocations: 34.5 kB / 473.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.361, allocations: 0 / 473.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003559/0.3614, allocations: 109.5 kB / 473.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.3614, allocations: 82.73 kB / 473.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3616, allocations: 138.8 kB / 473.8 MB, free: 444 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3616, allocations: 26.98 kB / 473.8 MB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.3616, allocations: 85.27 kB / 473.9 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3617, allocations: 22.7 kB / 473.9 MB, free: 304 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3617, allocations: 22.58 kB / 473.9 MB, free: 280 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.362, allocations: 315.9 kB / 474.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.362, allocations: 20.67 kB / 474.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.3621, allocations: 30.36 kB / 474.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3622, allocations: 54.27 kB / 474.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3622, allocations: 0 / 474.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002221/0.3625, allocations: 81.77 kB / 474.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3625, allocations: 7.031 kB / 474.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3625, allocations: 1.188 kB / 474.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3625, allocations: 1.312 kB / 474.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.3626, allocations: 17.31 kB / 474.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3626, allocations: 4 kB / 474.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.3626, allocations: 10.03 kB / 474.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3626, allocations: 2.281 kB / 474.5 MB, free: 15.82 MB / 382.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.28e-05/0.3627, allocations: 116 kB / 474.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3627, allocations: 4.438 kB / 474.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.363, allocations: 102.6 kB / 474.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.363, allocations: 1.375 kB / 474.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.363, allocations: 4 kB / 474.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.363, allocations: 1.406 kB / 474.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3632, allocations: 181.8 kB / 474.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3632, allocations: 0 / 474.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.3633, allocations: 17.77 kB / 474.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3633, allocations: 0.9375 kB / 474.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.3633, allocations: 2.312 kB / 474.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3633, allocations: 1.938 kB / 474.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3633, allocations: 384 / 474.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3635, allocations: 118.9 kB / 475 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.3636, allocations: 93.08 kB / 475.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3636, allocations: 3 kB / 475.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.3637, allocations: 10.67 kB / 475.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3637, allocations: 7.062 kB / 475.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3637, allocations: 2.969 kB / 475.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.3638, allocations: 113.2 kB / 475.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 4 kB / 475.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002925/0.3668, allocations: 0.9576 MB / 476.2 MB, free: 14.87 MB / 382.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.004573/0.3713, allocations: 1.33 MB / 477.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.3716, allocations: 44.98 kB / 477.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3716, allocations: 4 kB / 477.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.3716, allocations: 27.92 kB / 477.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.3719, allocations: 21.8 kB / 477.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3723, allocations: 181.8 kB / 477.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3727, allocations: 0.6885 MB / 478.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.3728, allocations: 15.88 kB / 478.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3728, allocations: 15.44 kB / 478.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3728, allocations: 0 / 478.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Templates: time 0.04102/0.4138, allocations: 27.28 MB / 0.494 GB, free: 1.227 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.929102145135403]