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.001278/0.001278, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001379/0.001379, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.45/1.45, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.002077/0.002077, allocations: 59.91 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 53.32 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00286/0.1058, allocations: 1.387 MB / 429.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2261/0.3319, allocations: 23.69 MB / 453.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.3319, allocations: 1.219 kB / 453.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.332, allocations: 6.609 kB / 453.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.3506, allocations: 6.024 MB / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.3515, allocations: 341.9 kB / 459.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3517, allocations: 79.38 kB / 459.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.3517, allocations: 3.438 kB / 459.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.3518, allocations: 30.61 kB / 459.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3519, allocations: 43.16 kB / 459.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3519, allocations: 3.969 kB / 459.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/0.3711, allocations: 8.993 MB / 468.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.3712, allocations: 20.03 kB / 468.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.3713, allocations: 27.58 kB / 468.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.3846, allocations: 4.392 MB / 473.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3846, allocations: 0 / 473.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3846, allocations: 0 / 473.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3846, allocations: 1.625 kB / 473.1 MB, free: 2.246 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.003335/0.3879, allocations: 0.9473 MB / 474 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.388, allocations: 12.06 kB / 474 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.388, allocations: 11.89 kB / 474 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3883, allocations: 198.4 kB / 474.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3883, allocations: 3 kB / 474.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3883, allocations: 0 / 474.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3885, allocations: 74.83 kB / 474.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3885, allocations: 3.938 kB / 474.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3885, allocations: 0 / 474.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3885, allocations: 3.516 kB / 474.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3886, allocations: 32.72 kB / 474.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.3888, allocations: 185.8 kB / 474.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.3892, allocations: 102.1 kB / 474.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.3892, allocations: 26.11 kB / 474.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.3893, allocations: 12.89 kB / 474.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3893, allocations: 43.11 kB / 474.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3893, allocations: 3.938 kB / 474.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003181/0.3896, allocations: 104.8 kB / 474.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3897, allocations: 78.55 kB / 474.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3898, allocations: 133.8 kB / 475 MB, free: 0.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3899, allocations: 34.83 kB / 475.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3899, allocations: 82.42 kB / 475.1 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3899, allocations: 26.19 kB / 475.2 MB, free: 408 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.39, allocations: 18.47 kB / 475.2 MB, free: 388 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3901, allocations: 324.2 kB / 475.5 MB, free: 56 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.3902, allocations: 16.48 kB / 475.5 MB, free: 52 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.3903, allocations: 30.86 kB / 475.5 MB, free: 28 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3904, allocations: 54.83 kB / 475.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3904, allocations: 0 / 475.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001873/0.3906, allocations: 75.39 kB / 475.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3906, allocations: 5.281 kB / 475.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3906, allocations: 6.672 kB / 475.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3906, allocations: 1.875 kB / 475.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3907, allocations: 16.86 kB / 475.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3907, allocations: 0 / 475.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.3908, allocations: 5.359 kB / 475.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3908, allocations: 7.094 kB / 475.7 MB, free: 15.93 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.442e-05/0.3909, allocations: 116.6 kB / 475.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3909, allocations: 2.781 kB / 475.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.3911, allocations: 103.2 kB / 475.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3911, allocations: 1.406 kB / 475.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3911, allocations: 3.047 kB / 475.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3911, allocations: 0 / 475.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3913, allocations: 185.9 kB / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3913, allocations: 0.9375 kB / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.3914, allocations: 10.25 kB / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3914, allocations: 0 / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3914, allocations: 1.156 kB / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.3914, allocations: 6.594 kB / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3914, allocations: 0 / 476.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3916, allocations: 118.6 kB / 476.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.3917, allocations: 92.61 kB / 476.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3917, allocations: 10.58 kB / 476.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.3918, allocations: 5.781 kB / 476.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3918, allocations: 11.02 kB / 476.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3919, allocations: 2.75 kB / 476.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.3919, allocations: 107.9 kB / 476.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3919, allocations: 1.375 kB / 476.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003258/0.3952, allocations: 0.9534 MB / 477.4 MB, free: 14.98 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.005719/0.4009, allocations: 1.358 MB / 478.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4012, allocations: 47.91 kB / 478.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4012, allocations: 0 / 478.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.4013, allocations: 23.98 kB / 478.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4015, allocations: 22.45 kB / 478.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.402, allocations: 219.4 kB / 479.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4023, allocations: 0.6846 MB / 479.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.4024, allocations: 19.72 kB / 479.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4024, allocations: 0 / 479.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03028/0.4327, allocations: 18.38 MB / 498.2 MB, free: 10.23 MB / 398.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 -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: 10.932290924945846]