Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008353/0.0008353, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004436/0.004436, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8599/0.8599, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.326e-05, allocations: 2.281 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001706/0.001729, allocations: 1.365 MB / 327.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.02096, allocations: 21.16 MB / 348.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.021, allocations: 0 / 348.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.02113, allocations: 7.875 kB / 348.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.03186, allocations: 6.001 MB / 354.3 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.03238, allocations: 386.3 kB / 354.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.03249, allocations: 71.66 kB / 354.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.03253, allocations: 11.91 kB / 354.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.0326, allocations: 39.91 kB / 354.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.0327, allocations: 35.89 kB / 354.8 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.03271, allocations: 4 kB / 354.8 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009463/0.04218, allocations: 8.409 MB / 363.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.04222, allocations: 23.91 kB / 363.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.04225, allocations: 16 kB / 363.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.0479, allocations: 5.492 MB / 368.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.0479, allocations: 0 / 368.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.0479, allocations: 0 / 368.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.04791, allocations: 0 / 368.8 MB, free: 4.113 MB / 330.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.001262/0.04917, allocations: 0.8718 MB / 369.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.04922, allocations: 15.92 kB / 369.7 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.04927, allocations: 8.891 kB / 369.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.04942, allocations: 137.6 kB / 369.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.04944, allocations: 4.375 kB / 369.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.04945, allocations: 7.938 kB / 369.8 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.04963, allocations: 126.8 kB / 369.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.04964, allocations: 0 / 369.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.04965, allocations: 0 / 369.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.04965, allocations: 0 / 369.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.04973, allocations: 39.91 kB / 370 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.04989, allocations: 130.3 kB / 370.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.05013, allocations: 93.11 kB / 370.2 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.05017, allocations: 29.78 kB / 370.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.05022, allocations: 15.92 kB / 370.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.05025, allocations: 38.56 kB / 370.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.05025, allocations: 0 / 370.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002401/0.05049, allocations: 105.9 kB / 370.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.05053, allocations: 77.11 kB / 370.5 MB, free: 2.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.05063, allocations: 133.8 kB / 370.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.05064, allocations: 33.7 kB / 370.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.05068, allocations: 84.12 kB / 370.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.05071, allocations: 23.8 kB / 370.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.05074, allocations: 21.72 kB / 370.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.05083, allocations: 318.8 kB / 371.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.05088, allocations: 23.92 kB / 371.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.05092, allocations: 29.7 kB / 371.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.811e-05/0.051, allocations: 45.7 kB / 371.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.051, allocations: 0 / 371.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.05111, allocations: 85.55 kB / 371.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.05113, allocations: 4 kB / 371.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.05113, allocations: 4 kB / 371.3 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.05114, allocations: 3.984 kB / 371.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.05118, allocations: 16.12 kB / 371.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.05119, allocations: 0 / 371.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.05121, allocations: 384 / 371.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.05122, allocations: 7.938 kB / 371.3 MB, free: 1.383 MB / 330.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 6.574e-05/0.05128, allocations: 117.8 kB / 371.4 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.0513, allocations: 11.89 kB / 371.4 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.05146, allocations: 101.5 kB / 371.5 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.05146, allocations: 0 / 371.5 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.05147, allocations: 4 kB / 371.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.05147, allocations: 4 kB / 371.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.05175, allocations: 125.2 kB / 371.6 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.05175, allocations: 4 kB / 371.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.05179, allocations: 15.94 kB / 371.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.05179, allocations: 3.938 kB / 371.7 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.0518, allocations: 0 / 371.7 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.0518, allocations: 4 kB / 371.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0518, allocations: 0 / 371.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.05191, allocations: 102 kB / 371.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.05195, allocations: 23.88 kB / 371.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.05197, allocations: 8.219 kB / 371.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.052, allocations: 0 / 371.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.05205, allocations: 7.984 kB / 371.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.05205, allocations: 11.98 kB / 371.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.05211, allocations: 107.2 kB / 371.9 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05211, allocations: 0 / 371.9 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001167/0.05327, allocations: 0.9547 MB / 372.9 MB, free: 15.72 MB / 346.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.002556/0.05583, allocations: 1.476 MB / 374.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.05598, allocations: 43.97 kB / 374.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.05598, allocations: 3.938 kB / 374.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.05602, allocations: 19.98 kB / 374.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.05624, allocations: 19.27 kB / 374.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.05662, allocations: 211.2 kB / 374.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.05667, allocations: 67.34 kB / 374.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.05671, allocations: 20.48 kB / 374.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.05671, allocations: 288 / 374.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Templates: time 0.01866/0.07537, allocations: 18.58 MB / 393.3 MB, free: 11.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.691384480334818]