Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001805/0.001805, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002202/0.002202, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.84 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2061, allocations: 53.31 MB / 432 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002532/0.2087, allocations: 1.388 MB / 433.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.2229, allocations: 12.2 MB / 445.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.2229, allocations: 0 / 445.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.223, allocations: 3.938 kB / 445.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.2256, allocations: 1.039 MB / 446.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.227, allocations: 0.6411 MB / 447.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2271, allocations: 63.7 kB / 447.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.2272, allocations: 4 kB / 447.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.2272, allocations: 27.86 kB / 447.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.2273, allocations: 35.89 kB / 447.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2273, allocations: 0 / 447.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.2303, allocations: 1.639 MB / 449.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2303, allocations: 15.84 kB / 449.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2303, allocations: 27.94 kB / 449.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.2321, allocations: 1.072 MB / 450.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2322, allocations: 3.984 kB / 450.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2322, allocations: 0 / 450.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2322, allocations: 0 / 450.2 MB, free: 5.113 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.0008353/0.233, allocations: 0.5483 MB / 450.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.233, allocations: 8.031 kB / 450.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2332, allocations: 12.89 kB / 450.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.2333, allocations: 176.3 kB / 450.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2333, allocations: 4.375 kB / 451 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.2334, allocations: 4.375 kB / 451 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2335, allocations: 71.45 kB / 451 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2335, allocations: 0 / 451 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2336, allocations: 3.938 kB / 451 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2336, allocations: 4 kB / 451 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2337, allocations: 23.97 kB / 451.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.2339, allocations: 178.6 kB / 451.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2342, allocations: 81.12 kB / 451.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.2343, allocations: 25.77 kB / 451.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/0.2414, allocations: 3.301 MB / 454.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2414, allocations: 38.44 kB / 454.7 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2414, allocations: 8 kB / 454.7 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003212/0.2417, allocations: 74.03 kB / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.2418, allocations: 85.05 kB / 454.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2419, allocations: 113.8 kB / 454.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2419, allocations: 25.7 kB / 455 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.2419, allocations: 84.14 kB / 455.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.242, allocations: 19.84 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.242, allocations: 21.72 kB / 455.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2422, allocations: 322.8 kB / 455.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.2422, allocations: 4 kB / 455.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.2423, allocations: 29.7 kB / 455.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2424, allocations: 41.69 kB / 455.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2424, allocations: 0 / 455.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001793/0.2426, allocations: 73.56 kB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2426, allocations: 7.938 kB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2426, allocations: 0 / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2426, allocations: 8.062 kB / 455.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.2427, allocations: 19.98 kB / 455.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2427, allocations: 0 / 455.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.2427, allocations: 15.81 kB / 455.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.2427, allocations: 0 / 455.6 MB, free: 15 MB / 366.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 7.885e-05/0.2428, allocations: 109.8 kB / 455.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2429, allocations: 19.89 kB / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.2431, allocations: 97.77 kB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2431, allocations: 0 / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2431, allocations: 4 kB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2432, allocations: 85.09 kB / 455.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2432, allocations: 8 kB / 455.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.2433, allocations: 3.984 kB / 455.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.2433, allocations: 8 kB / 455.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002533/0.2436, allocations: 228.1 kB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002887/0.2439, allocations: 326 kB / 456.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.812e-05/0.2439, allocations: 16.25 kB / 456.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.244, allocations: 95.27 kB / 456.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Backend: time 1.5e-07/0.244, allocations: 0 / 456.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.2456, allocations: 0.6167 MB / 457.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005103/0.2461, allocations: 0.5977 MB / 457.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.01568/0.2618, allocations: 9.949 MB / 467.7 MB, free: 2.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.375469367951155]