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.001301/0.001301, allocations: 117.4 kB / 18.45 MB, free: 4.562 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.001378/0.001378, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001485/0.001485, allocations: 51.92 kB / 374.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 53.34 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002576/0.1115, allocations: 1.375 MB / 428.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2259/0.3374, allocations: 23.7 MB / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.3374, allocations: 1.125 kB / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3375, allocations: 6.562 kB / 452.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.3573, allocations: 6.017 MB / 458.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.3582, allocations: 345.5 kB / 458.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3584, allocations: 80.44 kB / 459 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.3585, allocations: 5.312 kB / 459 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.3585, allocations: 32.22 kB / 459 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3586, allocations: 47.58 kB / 459.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3587, allocations: 3.094 kB / 459.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01889/0.3775, allocations: 8.997 MB / 468.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.3776, allocations: 20.06 kB / 468.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3777, allocations: 23.02 kB / 468.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3912, allocations: 4.394 MB / 472.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3912, allocations: 0 / 472.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3912, allocations: 0 / 472.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3912, allocations: 0 / 472.5 MB, free: 2.273 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.00341/0.3946, allocations: 0.9487 MB / 473.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3947, allocations: 9.781 kB / 473.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.3947, allocations: 11.77 kB / 473.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.395, allocations: 204.4 kB / 473.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.395, allocations: 1.562 kB / 473.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.395, allocations: 1.562 kB / 473.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3952, allocations: 70.14 kB / 473.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3952, allocations: 0 / 473.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3952, allocations: 1.688 kB / 473.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3952, allocations: 1.094 kB / 473.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3953, allocations: 44.25 kB / 473.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3956, allocations: 193.2 kB / 474 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3959, allocations: 96.38 kB / 474.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.396, allocations: 30.36 kB / 474.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.396, allocations: 18.34 kB / 474.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3961, allocations: 34.56 kB / 474.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3961, allocations: 0 / 474.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003335/0.3964, allocations: 102.7 kB / 474.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3965, allocations: 79.64 kB / 474.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3966, allocations: 141.5 kB / 474.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3966, allocations: 25.7 kB / 474.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.3967, allocations: 85.73 kB / 474.6 MB, free: 452 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3967, allocations: 22.97 kB / 474.6 MB, free: 432 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.3967, allocations: 18.53 kB / 474.6 MB, free: 412 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3969, allocations: 324.1 kB / 474.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.397, allocations: 12.38 kB / 475 MB, free: 80 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.397, allocations: 40.02 kB / 475 MB, free: 48 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3972, allocations: 53.73 kB / 475.1 MB, free: 16 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3972, allocations: 2.25 kB / 475.1 MB, free: 16 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001974/0.3974, allocations: 77.36 kB / 475.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3974, allocations: 5.5 kB / 475.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3974, allocations: 0 / 475.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3974, allocations: 1.375 kB / 475.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.3975, allocations: 17.55 kB / 475.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3975, allocations: 5.641 kB / 475.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.3975, allocations: 9.328 kB / 475.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3975, allocations: 2.75 kB / 475.2 MB, free: 15.95 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 8.984e-05/0.3976, allocations: 112.5 kB / 475.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3976, allocations: 4.125 kB / 475.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.3979, allocations: 104.2 kB / 475.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3979, allocations: 1.375 kB / 475.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3979, allocations: 0 / 475.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3979, allocations: 5.375 kB / 475.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3981, allocations: 185 kB / 475.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3981, allocations: 1.375 kB / 475.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.3981, allocations: 12.19 kB / 475.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3981, allocations: 1.375 kB / 475.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.3981, allocations: 5.312 kB / 475.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3981, allocations: 6.609 kB / 475.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3981, allocations: 0 / 475.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3983, allocations: 115 kB / 475.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.3984, allocations: 87.8 kB / 475.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3984, allocations: 1.375 kB / 475.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.3985, allocations: 6.688 kB / 475.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.3986, allocations: 6.641 kB / 475.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3986, allocations: 3.531 kB / 475.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.3987, allocations: 112.4 kB / 475.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3987, allocations: 4 kB / 475.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003348/0.402, allocations: 0.9628 MB / 476.9 MB, free: 14.96 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.005495/0.4075, allocations: 1.339 MB / 478.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.4078, allocations: 47.91 kB / 478.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4078, allocations: 0 / 478.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.4079, allocations: 27.98 kB / 478.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.4081, allocations: 21.11 kB / 478.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.4086, allocations: 211.4 kB / 478.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4089, allocations: 0.6846 MB / 479.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.409, allocations: 15.44 kB / 479.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.409, allocations: 4 kB / 479.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.03099/0.4399, allocations: 18.37 MB / 497.6 MB, free: 10.18 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/jenkins1/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/jenkins1/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: 11.27850195200881]