Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 49.44 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003005/0.1112, allocations: 1.361 MB / 409.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.2531/0.3644, allocations: 23.52 MB / 433 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3645, allocations: 0 / 433 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3646, allocations: 10.12 kB / 433 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.3826, allocations: 5.977 MB / 439 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.3836, allocations: 341.8 kB / 439.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3837, allocations: 78.77 kB / 439.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.3838, allocations: 5.953 kB / 439.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.3839, allocations: 34.86 kB / 439.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.384, allocations: 39.89 kB / 439.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.384, allocations: 3.469 kB / 439.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/0.4048, allocations: 8.856 MB / 448.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.4049, allocations: 18.12 kB / 448.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.405, allocations: 27.89 kB / 448.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.4188, allocations: 4.377 MB / 452.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.4189, allocations: 0 / 452.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.4189, allocations: 0 / 452.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4189, allocations: 1.828 kB / 452.7 MB, free: 2.559 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.004199/0.4231, allocations: 0.9362 MB / 453.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4232, allocations: 10.25 kB / 453.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.4233, allocations: 3.25 kB / 453.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4235, allocations: 199.3 kB / 453.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4235, allocations: 9.125 kB / 453.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.4235, allocations: 4.203 kB / 453.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4237, allocations: 68.91 kB / 454 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4237, allocations: 1.5 kB / 454 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4237, allocations: 4 kB / 454 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4237, allocations: 5.359 kB / 454 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4239, allocations: 31.77 kB / 454 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.4241, allocations: 199 kB / 454.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.4244, allocations: 98.17 kB / 454.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.4245, allocations: 31.2 kB / 454.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.4245, allocations: 8.469 kB / 454.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.4245, allocations: 39.41 kB / 454.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.4246, allocations: 0 / 454.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003124/0.4249, allocations: 97.98 kB / 454.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.4249, allocations: 87.34 kB / 454.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.425, allocations: 140.8 kB / 454.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.425, allocations: 26.7 kB / 454.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.4251, allocations: 84.17 kB / 454.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4251, allocations: 24.98 kB / 454.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.4252, allocations: 20.67 kB / 454.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.4252, allocations: 318.8 kB / 455.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.4253, allocations: 21.64 kB / 455.2 MB, free: 500 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.4253, allocations: 30.02 kB / 455.2 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.4255, allocations: 55.19 kB / 455.3 MB, free: 456 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4255, allocations: 0 / 455.3 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001673/0.4257, allocations: 81.62 kB / 455.3 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4257, allocations: 9.484 kB / 455.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4257, allocations: 1.953 kB / 455.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4257, allocations: 5.5 kB / 455.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.4258, allocations: 12.31 kB / 455.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4258, allocations: 1.906 kB / 455.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.4258, allocations: 3.25 kB / 455.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4258, allocations: 6.109 kB / 455.4 MB, free: 396 kB / 350.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 5.907e-05/0.4259, allocations: 115.7 kB / 455.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.4259, allocations: 7.5 kB / 455.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.4262, allocations: 106.2 kB / 455.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4262, allocations: 1.188 kB / 455.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4262, allocations: 1.562 kB / 455.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4262, allocations: 0 / 455.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.4263, allocations: 182 kB / 455.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4263, allocations: 1.062 kB / 455.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.4264, allocations: 13.61 kB / 455.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4264, allocations: 1.312 kB / 455.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.4264, allocations: 1.312 kB / 455.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4264, allocations: 3.844 kB / 455.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-05/0.4265, allocations: 6.047 kB / 455.8 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4267, allocations: 120 kB / 455.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4268, allocations: 89.91 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4268, allocations: 3.656 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.4269, allocations: 6.297 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.427, allocations: 6.531 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.427, allocations: 7.438 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.4271, allocations: 110.5 kB / 456.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4271, allocations: 0 / 456.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004088/0.4312, allocations: 0.9496 MB / 457.1 MB, free: 15.55 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.006083/0.4373, allocations: 1.341 MB / 458.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.4377, allocations: 54.53 kB / 458.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4377, allocations: 0.5 kB / 458.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.4378, allocations: 28.94 kB / 458.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4381, allocations: 20.89 kB / 458.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4386, allocations: 211.5 kB / 458.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4389, allocations: 0.6894 MB / 459.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.439, allocations: 16.34 kB / 459.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.439, allocations: 3.938 kB / 459.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Templates: time 0.03305/0.472, allocations: 18.16 MB / 477.6 MB, free: 14.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.198672726983204]