Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2448, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00236/0.2471, allocations: 1.378 MB / 433.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.2604, allocations: 12.2 MB / 445.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.2605, allocations: 0 / 445.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2605, allocations: 8 kB / 445.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.2632, allocations: 1.044 MB / 446.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.2646, allocations: 0.6294 MB / 447.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2647, allocations: 63.77 kB / 447.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.2647, allocations: 4 kB / 447.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.2648, allocations: 35.84 kB / 447.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.2649, allocations: 27.91 kB / 447.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2649, allocations: 4 kB / 447.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.2676, allocations: 1.639 MB / 449.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.2676, allocations: 15.92 kB / 449.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.2676, allocations: 15.94 kB / 449.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2692, allocations: 1.076 MB / 450.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2692, allocations: 4 kB / 450.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2692, allocations: 3.938 kB / 450.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2692, allocations: 4 kB / 450.2 MB, free: 5.148 MB / 350.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.0007433/0.2699, allocations: 0.5444 MB / 450.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.27, allocations: 12.03 kB / 450.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2701, allocations: 16.88 kB / 450.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.2702, allocations: 172.3 kB / 450.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2703, allocations: 384 / 450.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2703, allocations: 4.375 kB / 450.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.2704, allocations: 79.39 kB / 451 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2705, allocations: 0 / 451 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2705, allocations: 3.984 kB / 451 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2705, allocations: 0 / 451 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2706, allocations: 27.92 kB / 451 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.2708, allocations: 174.6 kB / 451.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.2711, allocations: 81.12 kB / 451.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.2711, allocations: 29.77 kB / 451.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006347/0.2775, allocations: 3.305 MB / 454.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2775, allocations: 34.5 kB / 454.7 MB, free: 48 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.2775, allocations: 0 / 454.7 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003235/0.2779, allocations: 81.59 kB / 454.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2779, allocations: 85.11 kB / 454.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.278, allocations: 113.8 kB / 454.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.278, allocations: 25.7 kB / 455 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.2781, allocations: 84.14 kB / 455 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2781, allocations: 23.84 kB / 455.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.2782, allocations: 17.72 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2783, allocations: 314.8 kB / 455.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.2783, allocations: 8 kB / 455.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.2784, allocations: 37.64 kB / 455.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2785, allocations: 37.7 kB / 455.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2785, allocations: 4 kB / 455.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001731/0.2787, allocations: 77.5 kB / 455.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2787, allocations: 4 kB / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2787, allocations: 0 / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2787, allocations: 0 / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.2788, allocations: 23.92 kB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2788, allocations: 0 / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.2788, allocations: 3.938 kB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2789, allocations: 4 kB / 455.6 MB, free: 15.04 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 8.299e-05/0.2789, allocations: 113.8 kB / 455.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.279, allocations: 7.891 kB / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.2792, allocations: 118.2 kB / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2792, allocations: 0 / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2792, allocations: 0 / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2792, allocations: 4 kB / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.2794, allocations: 165.6 kB / 456 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2794, allocations: 3.984 kB / 456 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.2794, allocations: 11.94 kB / 456 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2794, allocations: 4 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2795, allocations: 4 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2795, allocations: 3.938 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2795, allocations: 0 / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.2796, allocations: 105.9 kB / 456.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.2797, allocations: 93.03 kB / 456.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2797, allocations: 0 / 456.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.2798, allocations: 7.984 kB / 456.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2798, allocations: 4.188 kB / 456.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2799, allocations: 12 kB / 456.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.2799, allocations: 91.27 kB / 456.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2799, allocations: 0 / 456.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.2807, allocations: 326.8 kB / 456.6 MB, free: 13.88 MB / 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.001072/0.2817, allocations: 0.5836 MB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2819, allocations: 31.92 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2819, allocations: 0 / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.282, allocations: 23.92 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.2822, allocations: 10.75 kB / 457.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.2826, allocations: 205.7 kB / 457.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2829, allocations: 0.6807 MB / 458.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.2829, allocations: 27.36 kB / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2829, allocations: 0 / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.008539/0.2915, allocations: 5.949 MB / 464.2 MB, free: 6.293 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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: 7.902848776895553]