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_TX.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.001326/0.001326, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.001446/0.001446, allocations: 214.7 kB / 24.46 MB, free: 4.195 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.486/1.486, allocations: 230.4 MB / 258.1 MB, free: 8.133 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_TX,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_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-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [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.002048/0.002048, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002504/0.2793, allocations: 1.385 MB / 433.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03135/0.3107, allocations: 23.81 MB / 457.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.3107, allocations: 0 / 457.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3108, allocations: 7.875 kB / 457.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01628/0.3271, allocations: 6.002 MB / 463.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.328, allocations: 350.8 kB / 463.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3281, allocations: 79.62 kB / 463.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.3282, allocations: 7.922 kB / 463.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.3283, allocations: 39.78 kB / 463.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3284, allocations: 43.88 kB / 463.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3284, allocations: 4 kB / 463.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01784/0.3462, allocations: 9.003 MB / 472.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.3463, allocations: 15.92 kB / 472.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.3463, allocations: 27.86 kB / 472.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.3577, allocations: 4.393 MB / 477.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.3577, allocations: 4 kB / 477.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3577, allocations: 0 / 477.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3577, allocations: 0 / 477.2 MB, free: 10.11 MB / 382.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.002652/0.3604, allocations: 0.9472 MB / 478.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3604, allocations: 8.031 kB / 478.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.3605, allocations: 8.891 kB / 478.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3607, allocations: 203.8 kB / 478.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3607, allocations: 0 / 478.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3607, allocations: 8 kB / 478.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3609, allocations: 67.39 kB / 478.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3609, allocations: 3.938 kB / 478.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3609, allocations: 4 kB / 478.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3609, allocations: 0 / 478.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3611, allocations: 35.97 kB / 478.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.3613, allocations: 190.5 kB / 478.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3616, allocations: 89.12 kB / 478.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.3617, allocations: 29.77 kB / 478.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.3618, allocations: 15.98 kB / 478.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3618, allocations: 38.56 kB / 478.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.3618, allocations: 0 / 478.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003281/0.3621, allocations: 101.5 kB / 478.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.3622, allocations: 77.11 kB / 479 MB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3623, allocations: 137.8 kB / 479.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3623, allocations: 25.7 kB / 479.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3624, allocations: 96.08 kB / 479.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3624, allocations: 27.78 kB / 479.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3625, allocations: 17.72 kB / 479.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3626, allocations: 318.8 kB / 479.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.3626, allocations: 16 kB / 479.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.3627, allocations: 33.7 kB / 479.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3628, allocations: 50.06 kB / 479.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3628, allocations: 0 / 479.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001906/0.363, allocations: 85.59 kB / 479.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3631, allocations: 6.5 kB / 479.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3631, allocations: 3.938 kB / 479.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3631, allocations: 4 kB / 479.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3631, allocations: 11.98 kB / 479.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3631, allocations: 0 / 479.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.3632, allocations: 7.953 kB / 479.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3632, allocations: 0 / 479.8 MB, free: 7.207 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.005e-05/0.3633, allocations: 125.7 kB / 479.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3633, allocations: 4 kB / 480 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3636, allocations: 97.61 kB / 480 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3636, allocations: 0 / 480 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3636, allocations: 8 kB / 480.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3636, allocations: 0 / 480.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3638, allocations: 189.5 kB / 480.2 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3638, allocations: 0 / 480.2 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.3638, allocations: 12 kB / 480.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3638, allocations: 0 / 480.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3638, allocations: 7.984 kB / 480.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3638, allocations: 0 / 480.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3638, allocations: 0 / 480.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3641, allocations: 113.8 kB / 480.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.3641, allocations: 93.05 kB / 480.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3642, allocations: 0 / 480.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.3642, allocations: 4 kB / 480.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.3643, allocations: 11.98 kB / 480.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3643, allocations: 0 / 480.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.3644, allocations: 115.6 kB / 480.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3644, allocations: 0 / 480.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00259/0.367, allocations: 0.9624 MB / 481.6 MB, free: 5.371 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.004199/0.3712, allocations: 1.352 MB / 482.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.3714, allocations: 47.91 kB / 482.9 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3714, allocations: 0 / 482.9 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.3715, allocations: 23.98 kB / 483 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3718, allocations: 19.98 kB / 483 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3722, allocations: 184.4 kB / 483.2 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3725, allocations: 0.6807 MB / 483.9 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.3726, allocations: 15.98 kB / 483.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.3726, allocations: 23.42 kB / 483.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3726, allocations: 0 / 483.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of Templates: time 0.03872/0.4113, allocations: 27.28 MB / 0.4992 GB, free: 7.668 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.639218144118786]