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.002442/0.002442, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002645/0.002645, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.667/1.667, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 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 1.353e-06/1.353e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.677e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002727/0.002753, allocations: 1.366 MB / 268.7 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1463/0.1491, allocations: 23.2 MB / 291.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.1491, allocations: 0 / 291.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1493, allocations: 8.422 kB / 291.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.1638, allocations: 6 MB / 297.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.1647, allocations: 367.5 kB / 298.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1648, allocations: 79.28 kB / 298.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.1648, allocations: 7.609 kB / 298.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.1649, allocations: 41.28 kB / 298.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.165, allocations: 35.78 kB / 298.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.165, allocations: 4.062 kB / 298.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.1803, allocations: 8.387 MB / 306.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1804, allocations: 14.92 kB / 306.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.1804, allocations: 17.39 kB / 306.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.1918, allocations: 5.485 MB / 312.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1918, allocations: 4 kB / 312.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1918, allocations: 0 / 312.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1918, allocations: 0 / 312.3 MB, free: 8.52 MB / 266.7 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.002422/0.1942, allocations: 0.9614 MB / 313.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1943, allocations: 10.14 kB / 313.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.1943, allocations: 10.92 kB / 313.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1945, allocations: 126.2 kB / 313.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1945, allocations: 1.266 kB / 313.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1945, allocations: 7.031 kB / 313.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1947, allocations: 133.8 kB / 313.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1947, allocations: 0 / 313.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1947, allocations: 0.5625 kB / 313.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1947, allocations: 0 / 313.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1948, allocations: 25.45 kB / 313.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.195, allocations: 138.3 kB / 313.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1953, allocations: 95.81 kB / 313.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1953, allocations: 32.14 kB / 313.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.1954, allocations: 10 kB / 313.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1954, allocations: 47.86 kB / 313.9 MB, free: 7.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1954, allocations: 0 / 313.9 MB, free: 7.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002992/0.1957, allocations: 83.94 kB / 314 MB, free: 7.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.1957, allocations: 80.2 kB / 314.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.1958, allocations: 181.9 kB / 314.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1958, allocations: 29.7 kB / 314.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.1958, allocations: 134.9 kB / 314.4 MB, free: 6.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1959, allocations: 22.61 kB / 314.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1959, allocations: 23.38 kB / 314.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.196, allocations: 0.4923 MB / 314.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.196, allocations: 8 kB / 314.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.1961, allocations: 36.05 kB / 315 MB, free: 6.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.923e-05/0.1962, allocations: 42.45 kB / 315 MB, free: 5.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1962, allocations: 0 / 315 MB, free: 5.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001602/0.1963, allocations: 78.55 kB / 315.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1963, allocations: 7.938 kB / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1963, allocations: 0 / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1964, allocations: 3.312 kB / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.1964, allocations: 16 kB / 315.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1964, allocations: 3.359 kB / 315.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.1965, allocations: 0 / 315.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1965, allocations: 11.98 kB / 315.1 MB, free: 5.848 MB / 266.7 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.121e-05/0.1965, allocations: 155.4 kB / 315.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1966, allocations: 15.89 kB / 315.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1968, allocations: 88.69 kB / 315.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1968, allocations: 0 / 315.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1968, allocations: 0 / 315.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1968, allocations: 7.938 kB / 315.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.916e-05/0.1969, allocations: 128.6 kB / 315.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1969, allocations: 0 / 315.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1969, allocations: 8 kB / 315.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1969, allocations: 4 kB / 315.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1969, allocations: 11.81 kB / 315.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1969, allocations: 0 / 315.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1969, allocations: 0 / 315.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1971, allocations: 119.7 kB / 315.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.1972, allocations: 11.94 kB / 315.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1972, allocations: 7.938 kB / 315.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.1972, allocations: 4 kB / 315.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.1973, allocations: 10.42 kB / 315.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1973, allocations: 4 kB / 315.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.1973, allocations: 143.5 kB / 315.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 315.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002491/0.1998, allocations: 0.9469 MB / 316.8 MB, free: 4.129 MB / 266.7 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.004516/0.2043, allocations: 1.483 MB / 318.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2045, allocations: 40.83 kB / 318.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2045, allocations: 0 / 318.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.2046, allocations: 30.67 kB / 318.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2048, allocations: 19.97 kB / 318.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.2052, allocations: 185.7 kB / 318.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.2052, allocations: 67.34 kB / 318.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.2053, allocations: 11.98 kB / 318.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2053, allocations: 20.48 kB / 318.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2053, allocations: 0 / 318.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of Templates: time 0.04575/0.2511, allocations: 28.07 MB / 346.7 MB, free: 6.309 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.563349813921377]