Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001763/0.001763, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002044/0.002044, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.449/1.449, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00249/0.2397, allocations: 1.367 MB / 433.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2544, allocations: 12.21 MB / 446 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.2545, allocations: 3.938 kB / 446 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.2545, allocations: 0 / 446 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.2577, allocations: 1.059 MB / 447.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.2595, allocations: 0.6404 MB / 447.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.2597, allocations: 59.77 kB / 447.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.2597, allocations: 4 kB / 447.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.2598, allocations: 31.86 kB / 447.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.2599, allocations: 35.91 kB / 447.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2599, allocations: 0 / 447.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.2633, allocations: 1.651 MB / 449.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.2633, allocations: 15.92 kB / 449.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.2633, allocations: 19.92 kB / 449.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.2657, allocations: 1.08 MB / 450.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2657, allocations: 0 / 450.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2657, allocations: 0 / 450.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2657, allocations: 0 / 450.6 MB, free: 4.531 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.0009006/0.2666, allocations: 496.2 kB / 451.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2667, allocations: 15.97 kB / 451.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.2668, allocations: 16.88 kB / 451.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.267, allocations: 118.5 kB / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.267, allocations: 384 / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.267, allocations: 384 / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2672, allocations: 75.5 kB / 451.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2672, allocations: 4 kB / 451.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2672, allocations: 3.938 kB / 451.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2672, allocations: 0 / 451.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2673, allocations: 27.92 kB / 451.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.2675, allocations: 149.6 kB / 451.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.2678, allocations: 81.12 kB / 451.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.2679, allocations: 21.77 kB / 451.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006256/0.2741, allocations: 1.498 MB / 453.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.2742, allocations: 42.48 kB / 453.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.2742, allocations: 4 kB / 453.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003306/0.2745, allocations: 73.61 kB / 453.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.2746, allocations: 81.11 kB / 453.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2747, allocations: 113.8 kB / 453.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2747, allocations: 25.7 kB / 453.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.2748, allocations: 92.12 kB / 453.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.2748, allocations: 19.86 kB / 453.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.2748, allocations: 13.72 kB / 453.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.275, allocations: 322.8 kB / 453.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.275, allocations: 8 kB / 453.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.2751, allocations: 29.64 kB / 453.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.2752, allocations: 42.08 kB / 453.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2752, allocations: 0 / 453.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000191/0.2754, allocations: 81.48 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2754, allocations: 6.656 kB / 454 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2754, allocations: 4 kB / 454 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2755, allocations: 0 / 454 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.2755, allocations: 11.98 kB / 454 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2755, allocations: 0 / 454 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.2756, allocations: 11.88 kB / 454.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2756, allocations: 0 / 454.1 MB, free: 0.8594 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.414e-05/0.2757, allocations: 117.8 kB / 454.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.2757, allocations: 11.89 kB / 454.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.276, allocations: 101.5 kB / 454.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.276, allocations: 4 kB / 454.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.276, allocations: 4 kB / 454.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.276, allocations: 7.922 kB / 454.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.2762, allocations: 132.7 kB / 454.4 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2762, allocations: 4 kB / 454.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.2762, allocations: 16.06 kB / 454.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2762, allocations: 0 / 454.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2763, allocations: 4 kB / 454.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2763, allocations: 0 / 454.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2763, allocations: 0 / 454.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2765, allocations: 109.9 kB / 454.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2765, allocations: 11.92 kB / 454.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2765, allocations: 4 kB / 454.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.2766, allocations: 3.984 kB / 454.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.2767, allocations: 4 kB / 454.6 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2767, allocations: 11.98 kB / 454.6 MB, free: 248 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.373e-05/0.2767, allocations: 87.59 kB / 454.7 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2767, allocations: 4 kB / 454.7 MB, free: 156 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008523/0.2776, allocations: 326.8 kB / 455 MB, free: 15.83 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.001282/0.2789, allocations: 0.5839 MB / 455.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2791, allocations: 31.92 kB / 455.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2791, allocations: 4 kB / 455.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.2791, allocations: 23.92 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.2793, allocations: 19.92 kB / 455.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.2798, allocations: 182.1 kB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2801, allocations: 0.6846 MB / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.2802, allocations: 23.36 kB / 456.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2802, allocations: 0 / 456.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Templates: time 0.0105/0.2907, allocations: 5.952 MB / 462.5 MB, free: 8.254 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.547279047081247]