Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 103.4 kB / 21.22 MB, free: 392 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 204.7 kB / 24.51 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.7 MB / 235.4 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 51.92 kB / 347.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2549, allocations: 49.16 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002349/0.2573, allocations: 1.337 MB / 398.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02699/0.2843, allocations: 21.25 MB / 419.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.2843, allocations: 0 / 419.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2844, allocations: 9.766 kB / 419.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.3, allocations: 5.609 MB / 425.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.3009, allocations: 367.9 kB / 425.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.301, allocations: 83.25 kB / 425.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.301, allocations: 2.375 kB / 425.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.3011, allocations: 32.58 kB / 425.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.3012, allocations: 38.97 kB / 425.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3012, allocations: 3.438 kB / 425.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/0.3171, allocations: 8.251 MB / 433.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.3172, allocations: 15.92 kB / 433.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3172, allocations: 27.91 kB / 434 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3277, allocations: 4.292 MB / 438.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3277, allocations: 0 / 438.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3277, allocations: 3.984 kB / 438.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3277, allocations: 0 / 438.3 MB, free: 9.758 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.002092/0.3298, allocations: 0.8447 MB / 439.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3298, allocations: 11.98 kB / 439.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.3299, allocations: 12.89 kB / 439.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.33, allocations: 150 kB / 439.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3301, allocations: 0 / 439.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3301, allocations: 11.94 kB / 439.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3303, allocations: 122.8 kB / 439.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3303, allocations: 0 / 439.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3303, allocations: 0 / 439.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3303, allocations: 0 / 439.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3304, allocations: 35.97 kB / 439.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3306, allocations: 134.1 kB / 439.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3309, allocations: 105.1 kB / 439.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.331, allocations: 29.77 kB / 439.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.3311, allocations: 8 kB / 439.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3311, allocations: 42.5 kB / 439.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3311, allocations: 0 / 439.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00032/0.3314, allocations: 101.5 kB / 439.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3315, allocations: 81.09 kB / 439.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3316, allocations: 133.8 kB / 440.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3316, allocations: 33.7 kB / 440.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3317, allocations: 84.14 kB / 440.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.3317, allocations: 19.8 kB / 440.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3318, allocations: 25.7 kB / 440.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3319, allocations: 314.8 kB / 440.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.332, allocations: 23.92 kB / 440.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.332, allocations: 33.7 kB / 440.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3322, allocations: 45.64 kB / 440.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3322, allocations: 4 kB / 440.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001909/0.3324, allocations: 85.61 kB / 440.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3324, allocations: 8 kB / 440.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3324, allocations: 0 / 440.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3324, allocations: 0 / 440.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.3325, allocations: 11.94 kB / 440.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3325, allocations: 4 kB / 440.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.3325, allocations: 0 / 440.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3325, allocations: 7.984 kB / 440.7 MB, free: 7.039 MB / 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 9.689e-05/0.3326, allocations: 113.8 kB / 440.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3326, allocations: 11.95 kB / 440.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3329, allocations: 102 kB / 441 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3329, allocations: 0 / 441 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3329, allocations: 96 / 441 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3329, allocations: 3.984 kB / 441 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.333, allocations: 125.2 kB / 441.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.333, allocations: 384 / 441.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3331, allocations: 8 kB / 441.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3331, allocations: 4 kB / 441.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3331, allocations: 8.109 kB / 441.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3331, allocations: 7.938 kB / 441.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3331, allocations: 0 / 441.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3333, allocations: 121.8 kB / 441.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.3334, allocations: 11.92 kB / 441.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3334, allocations: 0 / 441.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3335, allocations: 4 kB / 441.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3335, allocations: 11.98 kB / 441.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3335, allocations: 0 / 441.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.473e-05/0.3336, allocations: 111.3 kB / 441.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3336, allocations: 0 / 441.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00353/0.3371, allocations: 0.9392 MB / 442.3 MB, free: 5.398 MB / 350.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.004308/0.3415, allocations: 1.359 MB / 443.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3417, allocations: 43.97 kB / 443.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3417, allocations: 0 / 443.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.3418, allocations: 32.2 kB / 443.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.342, allocations: 23.91 kB / 443.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.3426, allocations: 184.9 kB / 444 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.3426, allocations: 71.28 kB / 444 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.3427, allocations: 24.05 kB / 444 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.3427, allocations: 12.5 kB / 444.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3427, allocations: 4 kB / 444.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Templates: time 0.04195/0.3847, allocations: 28.58 MB / 472.6 MB, free: 6.949 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.833844482898712]