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.001317/0.001317, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001367/0.001367, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.443/1.443, allocations: 230.6 MB / 258.3 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.002419/0.002419, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2396, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002397/0.242, allocations: 1.355 MB / 433.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02827/0.2703, allocations: 21.16 MB / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.2703, allocations: 0 / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.2704, allocations: 11.92 kB / 454.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.2838, allocations: 5.955 MB / 460.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.2845, allocations: 370.7 kB / 461.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2846, allocations: 71.7 kB / 461.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.2847, allocations: 0 / 461.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.2847, allocations: 35.84 kB / 461.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.2848, allocations: 43.83 kB / 461.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2848, allocations: 4 kB / 461.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/0.299, allocations: 8.674 MB / 470 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.2991, allocations: 15.97 kB / 470 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.2991, allocations: 27.86 kB / 470 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.3053, allocations: 4.327 MB / 474.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3053, allocations: 4 kB / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3053, allocations: 0 / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3053, 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.001669/0.307, allocations: 0.8705 MB / 475.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.307, allocations: 8.031 kB / 475.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3071, allocations: 8.891 kB / 475.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3073, allocations: 146 kB / 475.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3073, allocations: 0 / 475.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3073, allocations: 4 kB / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3075, allocations: 126.7 kB / 475.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3075, allocations: 4 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3075, allocations: 3.984 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3075, allocations: 0 / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3076, allocations: 35.97 kB / 475.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.3079, allocations: 134.2 kB / 475.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.3082, allocations: 93.11 kB / 475.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.3083, allocations: 29.77 kB / 475.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.3083, allocations: 8 kB / 475.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3083, allocations: 46.44 kB / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3083, allocations: 4 kB / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003289/0.3087, allocations: 97.61 kB / 476 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3087, allocations: 85.03 kB / 476.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3088, allocations: 133.8 kB / 476.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3089, allocations: 25.7 kB / 476.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.3089, allocations: 92.12 kB / 476.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.309, allocations: 23.8 kB / 476.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.309, allocations: 21.7 kB / 476.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3091, allocations: 310.8 kB / 476.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.3092, allocations: 23.98 kB / 476.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.3093, allocations: 33.7 kB / 476.7 MB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3094, allocations: 57.52 kB / 476.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3094, allocations: 0 / 476.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001921/0.3096, allocations: 77.66 kB / 476.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3096, allocations: 8 kB / 476.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3096, allocations: 0 / 476.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3096, allocations: 480 / 476.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.3097, allocations: 11.94 kB / 476.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3097, allocations: 8 kB / 476.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.3098, allocations: 7.938 kB / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3098, allocations: 4 kB / 476.9 MB, free: 9.82 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 8.331e-05/0.3099, allocations: 113.8 kB / 477 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.3099, allocations: 4 kB / 477 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3101, allocations: 105.6 kB / 477.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3101, allocations: 0 / 477.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3101, allocations: 0 / 477.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3102, allocations: 11.94 kB / 477.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3102, allocations: 8.125 kB / 477.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.3103, allocations: 8 kB / 477.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3103, allocations: 11.92 kB / 477.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002726/0.3106, allocations: 232.2 kB / 477.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003011/0.3109, allocations: 330.4 kB / 477.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.841e-05/0.311, allocations: 27.91 kB / 477.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.453e-05/0.3111, allocations: 111.2 kB / 477.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of Backend: time 1.7e-07/0.3111, allocations: 0 / 477.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.3164, allocations: 1.707 MB / 479.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of SimCode: time 0.000577/0.317, allocations: 0.6219 MB / 480.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.04857/0.3655, allocations: 35.61 MB / 0.5037 GB, free: 2.82 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 -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: 8.7256771619941]