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.00734/0.00734, allocations: 106 kB / 21.98 MB, free: 5.227 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.001511/0.001511, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.494/1.494, allocations: 230.6 MB / 259 MB, free: 8.031 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.002056/0.002056, allocations: 67.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00254/0.3022, allocations: 1.389 MB / 434.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03219/0.3344, allocations: 23.81 MB / 458.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.3345, allocations: 0 / 458.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3346, allocations: 11.92 kB / 458.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01717/0.3518, allocations: 6.031 MB / 464.4 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3528, allocations: 366.7 kB / 464.8 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3529, allocations: 79.64 kB / 464.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.353, allocations: 4 kB / 464.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.3531, allocations: 35.89 kB / 464.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3532, allocations: 43.83 kB / 464.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3532, allocations: 0 / 464.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01865/0.3718, allocations: 9.046 MB / 474 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.3719, allocations: 15.92 kB / 474 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.372, allocations: 31.91 kB / 474 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.3846, allocations: 4.397 MB / 478.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3846, allocations: 0 / 478.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3846, allocations: 0 / 478.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3846, allocations: 0 / 478.4 MB, free: 9.586 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.00284/0.3874, allocations: 0.8758 MB / 479.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3875, allocations: 8.031 kB / 479.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.3876, allocations: 8.891 kB / 479.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3878, allocations: 141.9 kB / 479.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3878, allocations: 7.984 kB / 479.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3878, allocations: 7.938 kB / 479.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.388, allocations: 67.39 kB / 479.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.388, allocations: 0 / 479.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.388, allocations: 4 kB / 479.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.388, allocations: 0 / 479.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3881, allocations: 39.91 kB / 479.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.3884, allocations: 157.6 kB / 479.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.3887, allocations: 101.1 kB / 479.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.3888, allocations: 33.77 kB / 479.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.3888, allocations: 8 kB / 479.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3889, allocations: 38.55 kB / 479.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3889, allocations: 0 / 479.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003423/0.3892, allocations: 101.5 kB / 480 MB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.3893, allocations: 77.11 kB / 480.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3894, allocations: 141.8 kB / 480.2 MB, free: 7.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3895, allocations: 25.7 kB / 480.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.3895, allocations: 88.14 kB / 480.3 MB, free: 7.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3895, allocations: 23.78 kB / 480.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3896, allocations: 17.72 kB / 480.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3897, allocations: 318.8 kB / 480.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.3898, allocations: 15.98 kB / 480.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.3899, allocations: 33.7 kB / 480.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.39, allocations: 57.62 kB / 480.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.39, allocations: 4 kB / 480.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001899/0.3902, allocations: 73.61 kB / 480.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3902, allocations: 8 kB / 480.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3902, allocations: 0 / 480.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3903, allocations: 0 / 480.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.3903, allocations: 15.98 kB / 480.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3903, allocations: 4 kB / 480.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.3904, allocations: 7.891 kB / 480.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3904, allocations: 4 kB / 480.9 MB, free: 6.875 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.696e-05/0.3905, allocations: 114.2 kB / 481 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3905, allocations: 8 kB / 481 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3908, allocations: 102.1 kB / 481.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3908, allocations: 4 kB / 481.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3908, allocations: 4.062 kB / 481.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3908, allocations: 4 kB / 481.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.3909, allocations: 156.6 kB / 481.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3909, allocations: 7.984 kB / 481.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.391, allocations: 15.94 kB / 481.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.391, allocations: 0 / 481.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.391, allocations: 0 / 481.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.391, allocations: 0 / 481.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.391, allocations: 4 kB / 481.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.3912, allocations: 113.9 kB / 481.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.3913, allocations: 19.88 kB / 481.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3913, allocations: 0 / 481.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.3914, allocations: 7.984 kB / 481.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3915, allocations: 3.984 kB / 481.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3915, allocations: 8 kB / 481.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.3916, allocations: 111.2 kB / 481.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3916, allocations: 0 / 481.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002871/0.3944, allocations: 0.9547 MB / 482.5 MB, free: 5.172 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.004405/0.3988, allocations: 1.336 MB / 483.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3991, allocations: 47.97 kB / 483.9 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3991, allocations: 0 / 483.9 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.3992, allocations: 23.92 kB / 483.9 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3995, allocations: 12 kB / 483.9 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.4, allocations: 218.6 kB / 484.1 MB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4004, allocations: 0.6885 MB / 484.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.4004, allocations: 15.44 kB / 484.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4004, allocations: 0 / 484.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of Templates: time 0.03164/0.432, allocations: 18.37 MB / 0.4914 GB, free: 376 kB / 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/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/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: 11.56524310912937]