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.001716/0.001716, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002083/0.002083, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.436/1.436, allocations: 230.4 MB / 255.4 MB, free: 14.81 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.001891/0.001891, allocations: 71.83 kB / 374.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1064, allocations: 53.31 MB / 428 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002549/0.109, allocations: 1.372 MB / 429.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2091/0.318, allocations: 12.15 MB / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.3181, allocations: 0 / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.3181, allocations: 5.906 kB / 441.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.3219, allocations: 1.043 MB / 442.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.324, allocations: 0.6295 MB / 443.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3241, allocations: 67.06 kB / 443.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3242, allocations: 3.344 kB / 443.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.3242, allocations: 25.52 kB / 443.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.3243, allocations: 33.92 kB / 443.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3244, allocations: 7.75 kB / 443.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.3282, allocations: 1.642 MB / 445 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3282, allocations: 10.06 kB / 445 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.3283, allocations: 24.86 kB / 445.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3313, allocations: 1.068 MB / 446.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3313, allocations: 1.062 kB / 446.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3313, allocations: 0 / 446.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3313, allocations: 0.7031 kB / 446.1 MB, free: 2.504 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.0008755/0.3322, allocations: 0.5564 MB / 446.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3322, allocations: 13.66 kB / 446.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3323, allocations: 12.91 kB / 446.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3325, allocations: 174.5 kB / 446.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3325, allocations: 1.5 kB / 446.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3325, allocations: 10.53 kB / 446.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3326, allocations: 64.44 kB / 447 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3327, allocations: 0.8438 kB / 447 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3327, allocations: 1.125 kB / 447 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3327, allocations: 5.094 kB / 447 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3328, allocations: 21.86 kB / 447 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3329, allocations: 181 kB / 447.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.3332, allocations: 74 kB / 447.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.3332, allocations: 24.47 kB / 447.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006221/0.3395, allocations: 3.303 MB / 450.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3395, allocations: 45.41 kB / 450.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.3395, allocations: 0 / 450.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003511/0.3399, allocations: 80.03 kB / 450.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3399, allocations: 78.95 kB / 450.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.34, allocations: 115.6 kB / 450.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3401, allocations: 26.8 kB / 450.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3401, allocations: 90.84 kB / 451 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3402, allocations: 19.69 kB / 451 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3402, allocations: 16.56 kB / 451 MB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3404, allocations: 318 kB / 451.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.3404, allocations: 9.266 kB / 451.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.3405, allocations: 25.83 kB / 451.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3406, allocations: 48.36 kB / 451.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3406, allocations: 0 / 451.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000172/0.3408, allocations: 70.39 kB / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3408, allocations: 9.188 kB / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3408, allocations: 1.891 kB / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3408, allocations: 0 / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.3409, allocations: 16.08 kB / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3409, allocations: 3.031 kB / 451.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.3409, allocations: 10.91 kB / 451.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3409, allocations: 5.5 kB / 451.5 MB, free: 14.09 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.118e-05/0.341, allocations: 114 kB / 451.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.3411, allocations: 13.62 kB / 451.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3413, allocations: 100.2 kB / 451.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3413, allocations: 6.984 kB / 451.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3413, allocations: 0 / 451.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3413, allocations: 1.062 kB / 451.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3415, allocations: 167.1 kB / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3415, allocations: 0 / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.3416, allocations: 11.67 kB / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3416, allocations: 5.578 kB / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3416, allocations: 1.594 kB / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3416, allocations: 2.234 kB / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3416, allocations: 0 / 451.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3418, allocations: 104.2 kB / 452 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.3419, allocations: 96.8 kB / 452.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3419, allocations: 1.125 kB / 452.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3419, allocations: 4.25 kB / 452.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.342, allocations: 11.39 kB / 452.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.342, allocations: 2.594 kB / 452.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.3421, allocations: 99.86 kB / 452.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 452.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00125/0.3433, allocations: 326.3 kB / 452.6 MB, free: 13.34 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.001427/0.3447, allocations: 0.5804 MB / 453.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.345, allocations: 39.47 kB / 453.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.345, allocations: 0 / 453.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.345, allocations: 19.66 kB / 453.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3452, allocations: 8.078 kB / 453.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.3457, allocations: 203 kB / 453.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.346, allocations: 0.6861 MB / 454.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.3461, allocations: 22.16 kB / 454.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3461, allocations: 0 / 454.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01109/0.3572, allocations: 5.962 MB / 460.1 MB, free: 10.16 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: 8.055902623105794]