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.001429/0.001429, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001561/0.001561, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.781 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_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 0.00199/0.00199, allocations: 67.91 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.222, allocations: 53.4 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002394/0.2244, allocations: 1.351 MB / 433 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03076/0.2552, allocations: 21.17 MB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.2552, allocations: 0 / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2553, allocations: 11.92 kB / 454.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.2706, allocations: 5.957 MB / 460.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.2714, allocations: 362.7 kB / 460.5 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2715, allocations: 79.69 kB / 460.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.2716, allocations: 0 / 460.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.2716, allocations: 35.91 kB / 460.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.2717, allocations: 39.84 kB / 460.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2718, allocations: 4 kB / 460.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01565/0.2874, allocations: 8.39 MB / 469 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.2875, allocations: 15.92 kB / 469 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.2875, allocations: 31.84 kB / 469.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0094/0.2969, allocations: 4.33 MB / 473.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2969, allocations: 0 / 473.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2969, allocations: 0 / 473.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2969, allocations: 0 / 473.4 MB, free: 12.67 MB / 382.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.001902/0.2988, allocations: 0.8641 MB / 474.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2989, allocations: 15.92 kB / 474.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.2989, allocations: 8.891 kB / 474.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.2991, allocations: 146 kB / 474.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2991, allocations: 4 kB / 474.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2991, allocations: 4 kB / 474.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.2993, allocations: 126.7 kB / 474.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2993, allocations: 0 / 474.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2993, allocations: 0 / 474.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2993, allocations: 0 / 474.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2995, allocations: 35.97 kB / 474.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2996, allocations: 130.2 kB / 474.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.3, allocations: 101.1 kB / 474.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.3, allocations: 29.77 kB / 474.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.3001, allocations: 8 kB / 474.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3001, allocations: 38.56 kB / 474.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3001, allocations: 0 / 474.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003273/0.3005, allocations: 105.9 kB / 475 MB, free: 10.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3005, allocations: 77.11 kB / 475.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3006, allocations: 137.8 kB / 475.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3007, allocations: 29.7 kB / 475.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.3007, allocations: 88.52 kB / 475.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3007, allocations: 23.8 kB / 475.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3008, allocations: 21.7 kB / 475.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3009, allocations: 314.8 kB / 475.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.301, allocations: 23.92 kB / 475.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.3011, allocations: 33.7 kB / 475.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3012, allocations: 49.69 kB / 475.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3012, allocations: 0 / 475.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002036/0.3014, allocations: 81.59 kB / 475.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3014, allocations: 12 kB / 475.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3014, allocations: 0 / 475.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3014, allocations: 0 / 475.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.3015, allocations: 8 kB / 475.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3015, allocations: 4 kB / 475.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.3015, allocations: 7.938 kB / 475.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3016, allocations: 7.938 kB / 475.9 MB, free: 9.938 MB / 382.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.061e-05/0.3016, allocations: 117.7 kB / 476 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3017, allocations: 4 kB / 476 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3019, allocations: 109.6 kB / 476.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3019, allocations: 128 / 476.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3019, allocations: 4 kB / 476.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3019, allocations: 0 / 476.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3021, allocations: 129.2 kB / 476.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3021, allocations: 0 / 476.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.3021, allocations: 12 kB / 476.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3021, allocations: 3.984 kB / 476.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3021, allocations: 4 kB / 476.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3021, allocations: 0 / 476.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3021, allocations: 4 kB / 476.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.3024, allocations: 113.8 kB / 476.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3024, allocations: 19.88 kB / 476.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3024, allocations: 0 / 476.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3025, allocations: 4 kB / 476.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3026, allocations: 11.98 kB / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3026, allocations: 0 / 476.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.3026, allocations: 115.2 kB / 476.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3026, allocations: 0 / 476.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002026/0.3047, allocations: 0.955 MB / 477.5 MB, free: 8.277 MB / 382.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.003918/0.3086, allocations: 1.332 MB / 478.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3088, allocations: 51.84 kB / 478.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3088, allocations: 0 / 478.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.3089, allocations: 23.98 kB / 478.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3091, allocations: 22.67 kB / 478.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.3096, allocations: 192.8 kB / 479.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.3096, allocations: 68 kB / 479.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.681e-05/0.3097, allocations: 15.97 kB / 479.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3097, allocations: 15.44 kB / 479.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3097, allocations: 0 / 479.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04663/0.3564, allocations: 27.39 MB / 0.4947 GB, free: 11.1 MB / 414.1 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: 8.61506824940443]