Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001717/0.001717, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001904/0.001904, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.959/1.959, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3166, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002632/0.3192, allocations: 1.351 MB / 433.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03233/0.3515, allocations: 21.16 MB / 454.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.3516, allocations: 0 / 454.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3517, allocations: 11.92 kB / 454.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01787/0.3696, allocations: 5.954 MB / 460.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.3705, allocations: 370.7 kB / 461.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3706, allocations: 75.7 kB / 461.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3707, allocations: 3.984 kB / 461.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.3707, allocations: 31.86 kB / 461.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3708, allocations: 43.83 kB / 461.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3709, allocations: 4 kB / 461.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/0.3877, allocations: 8.679 MB / 470 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.3878, allocations: 11.98 kB / 470 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.3879, allocations: 23.88 kB / 470 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.3988, allocations: 4.334 MB / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3988, allocations: 4 kB / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3988, allocations: 0 / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3988, allocations: 0 / 474.4 MB, free: 12.55 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.002888/0.4017, allocations: 0.8701 MB / 475.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4017, allocations: 8.031 kB / 475.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.4018, allocations: 8.891 kB / 475.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.402, allocations: 138 kB / 475.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.402, allocations: 8 kB / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.402, allocations: 0 / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4022, allocations: 126.7 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4023, allocations: 4 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4023, allocations: 4 kB / 475.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4023, allocations: 0 / 475.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4024, allocations: 27.98 kB / 475.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.4026, allocations: 138.2 kB / 475.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.403, allocations: 93.12 kB / 475.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.403, allocations: 33.7 kB / 475.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.686e-05/0.4031, allocations: 11.98 kB / 475.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4031, allocations: 42.5 kB / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4031, allocations: 0 / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003465/0.4035, allocations: 97.61 kB / 476 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.4035, allocations: 81.05 kB / 476.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4037, allocations: 137.8 kB / 476.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4037, allocations: 29.7 kB / 476.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.4038, allocations: 88.12 kB / 476.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4038, allocations: 23.8 kB / 476.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4039, allocations: 13.72 kB / 476.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.404, allocations: 322.8 kB / 476.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.4041, allocations: 23.98 kB / 476.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.4042, allocations: 29.7 kB / 476.7 MB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.4043, allocations: 54.02 kB / 476.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4043, allocations: 3.938 kB / 476.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002021/0.4045, allocations: 81.66 kB / 476.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4045, allocations: 4 kB / 476.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4045, allocations: 0 / 476.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4046, allocations: 3.984 kB / 476.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.4046, allocations: 24.06 kB / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4046, allocations: 0 / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.4047, allocations: 3.953 kB / 476.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4047, allocations: 4 kB / 476.9 MB, free: 9.816 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 0.0001057/0.4048, allocations: 125.7 kB / 477 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.4048, allocations: 0 / 477 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.4051, allocations: 97.59 kB / 477.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4051, allocations: 0 / 477.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4051, allocations: 0 / 477.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4051, allocations: 4 kB / 477.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.4053, allocations: 133.2 kB / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4053, allocations: 0 / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.4053, allocations: 12.38 kB / 477.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4053, allocations: 0 / 477.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4053, allocations: 0 / 477.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4053, allocations: 4 kB / 477.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4053, allocations: 3.938 kB / 477.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.4056, allocations: 113.8 kB / 477.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.4056, allocations: 19.88 kB / 477.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.4056, allocations: 3.984 kB / 477.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.4057, allocations: 8 kB / 477.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.4058, allocations: 7.984 kB / 477.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.4058, allocations: 4 kB / 477.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.4059, allocations: 111.3 kB / 477.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 477.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003096/0.409, allocations: 0.9508 MB / 478.5 MB, free: 8.164 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.004868/0.4138, allocations: 1.336 MB / 479.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.4141, allocations: 59.89 kB / 479.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4141, allocations: 0 / 479.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.4142, allocations: 23.92 kB / 479.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.4145, allocations: 19.92 kB / 479.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.415, allocations: 176.8 kB / 480.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.4151, allocations: 79.33 kB / 480.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.4152, allocations: 11.98 kB / 480.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.4152, allocations: 15.44 kB / 480.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4152, allocations: 0 / 480.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of Templates: time 0.04348/0.4587, allocations: 27.41 MB / 0.4957 GB, free: 10.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.833317349999561]