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.00187/0.00187, allocations: 108.4 kB / 20.43 MB, free: 1.473 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.002209/0.002209, allocations: 189 kB / 23.72 MB, free: 4.711 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.439/1.439, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001525/0.001525, allocations: 47.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2397, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002396/0.2421, allocations: 1.382 MB / 424.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03112/0.2732, allocations: 23.74 MB / 448.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.2732, allocations: 0 / 448.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2733, allocations: 7.922 kB / 448.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.2882, allocations: 6.011 MB / 454.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.2891, allocations: 366.7 kB / 454.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.2892, allocations: 75.69 kB / 454.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2892, allocations: 4 kB / 454.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.2893, allocations: 39.84 kB / 454.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.2894, allocations: 35.89 kB / 454.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2894, allocations: 0 / 454.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.3051, allocations: 9.011 MB / 463.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.3052, allocations: 15.92 kB / 463.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.3052, allocations: 39.86 kB / 463.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008191/0.3134, allocations: 4.37 MB / 468.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3134, allocations: 0 / 468.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3134, allocations: 0 / 468.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3134, allocations: 0 / 468.2 MB, free: 1.469 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.002347/0.3158, allocations: 0.868 MB / 469.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3158, allocations: 12.02 kB / 469.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.3159, allocations: 8.938 kB / 469.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.316, allocations: 146 kB / 469.2 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3161, allocations: 12 kB / 469.2 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3161, allocations: 0 / 469.2 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3162, allocations: 71.38 kB / 469.3 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3163, allocations: 0 / 469.3 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3163, allocations: 4 kB / 469.3 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3163, allocations: 0 / 469.3 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3164, allocations: 31.92 kB / 469.3 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.3166, allocations: 177.5 kB / 469.5 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.317, allocations: 97.11 kB / 469.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.317, allocations: 33.7 kB / 469.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.3171, allocations: 8 kB / 469.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3171, allocations: 38.56 kB / 469.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3171, allocations: 0 / 469.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003408/0.3175, allocations: 97.59 kB / 469.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3175, allocations: 85.09 kB / 469.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3176, allocations: 133.8 kB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3177, allocations: 25.7 kB / 470 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.3177, allocations: 92.14 kB / 470.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3177, allocations: 15.86 kB / 470.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3178, allocations: 21.7 kB / 470.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3179, allocations: 318.8 kB / 470.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.318, allocations: 19.98 kB / 470.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.3181, allocations: 25.7 kB / 470.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3182, allocations: 57.64 kB / 470.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3182, allocations: 0 / 470.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002066/0.3184, allocations: 97.89 kB / 470.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3184, allocations: 7.281 kB / 470.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3184, allocations: 0 / 470.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3185, allocations: 0 / 470.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.3185, allocations: 12 kB / 470.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.3185, allocations: 0 / 470.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.3186, allocations: 0 / 470.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3186, allocations: 7.984 kB / 470.7 MB, free: 14.75 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.471e-05/0.3187, allocations: 125.7 kB / 470.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3187, allocations: 7.953 kB / 470.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.3189, allocations: 97.58 kB / 470.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.319, allocations: 0 / 470.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.319, allocations: 0 / 470.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.319, allocations: 4 kB / 470.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3191, allocations: 152.7 kB / 471.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3191, allocations: 128 / 471.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.3192, allocations: 24.3 kB / 471.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3192, allocations: 0 / 471.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.3192, allocations: 4 kB / 471.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3192, allocations: 0 / 471.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3192, allocations: 3.938 kB / 471.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.3194, allocations: 113.9 kB / 471.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3195, allocations: 11.98 kB / 471.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3195, allocations: 0 / 471.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.3196, allocations: 4 kB / 471.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3196, allocations: 11.98 kB / 471.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3196, allocations: 0 / 471.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.3197, allocations: 119.2 kB / 471.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3197, allocations: 0 / 471.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002318/0.322, allocations: 0.9469 MB / 472.3 MB, free: 13.06 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.004542/0.3266, allocations: 1.339 MB / 473.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3268, allocations: 47.97 kB / 473.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3268, allocations: 0 / 473.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.3269, allocations: 27.92 kB / 473.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3271, allocations: 23.97 kB / 473.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.3277, allocations: 181 kB / 473.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.328, allocations: 0.6846 MB / 474.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.328, allocations: 12 kB / 474.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3281, allocations: 15.72 kB / 474.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3281, allocations: 0 / 474.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Templates: time 0.04174/0.3698, allocations: 27.12 MB / 0.49 GB, free: 15.52 MB / 414.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.538767056539655]