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_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.001508/0.001508, 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.001677/0.001677, 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.423/1.423, allocations: 230.4 MB / 258.1 MB, free: 8.168 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_TX,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_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-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [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.002002/0.002002, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2122, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002418/0.2146, allocations: 1.388 MB / 433.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02961/0.2442, allocations: 23.81 MB / 457.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.2443, allocations: 0 / 457.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.614e-05/0.2444, allocations: 11.92 kB / 457.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.2575, allocations: 6.003 MB / 463.3 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.2582, allocations: 350.8 kB / 463.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2583, allocations: 83.56 kB / 463.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.2584, allocations: 7.938 kB / 463.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.2584, allocations: 31.91 kB / 463.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.2585, allocations: 35.89 kB / 463.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2585, allocations: 4 kB / 463.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.2734, allocations: 9.003 MB / 472.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.2734, allocations: 23.89 kB / 472.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.2735, allocations: 19.94 kB / 472.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.2804, allocations: 4.389 MB / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2804, allocations: 4 kB / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2804, allocations: 0 / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.2804, allocations: 0 / 477.2 MB, free: 10.12 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.002189/0.2826, allocations: 0.9472 MB / 478.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2826, allocations: 8.031 kB / 478.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.2827, allocations: 8.891 kB / 478.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.2828, allocations: 203.8 kB / 478.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2829, allocations: 4 kB / 478.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2829, allocations: 4 kB / 478.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2831, allocations: 71.33 kB / 478.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2831, allocations: 0 / 478.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2831, allocations: 8 kB / 478.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2831, allocations: 0 / 478.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2832, allocations: 31.97 kB / 478.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.2834, allocations: 190.5 kB / 478.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2837, allocations: 101.1 kB / 478.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.2838, allocations: 29.77 kB / 478.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.2839, allocations: 12 kB / 478.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2839, allocations: 34.5 kB / 478.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.2839, allocations: 0 / 478.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003187/0.2842, allocations: 101.9 kB / 478.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2843, allocations: 85.05 kB / 479 MB, free: 8.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2844, allocations: 137.8 kB / 479.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2844, allocations: 33.69 kB / 479.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.2845, allocations: 84.14 kB / 479.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2845, allocations: 23.8 kB / 479.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.2845, allocations: 21.7 kB / 479.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2847, allocations: 318.8 kB / 479.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.2847, allocations: 19.98 kB / 479.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.2848, allocations: 29.7 kB / 479.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2849, allocations: 53.67 kB / 479.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2849, allocations: 0 / 479.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002/0.2851, allocations: 81.66 kB / 479.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2852, allocations: 4 kB / 479.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2852, allocations: 11.94 kB / 479.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2852, allocations: 0 / 479.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.2853, allocations: 11.94 kB / 479.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2853, allocations: 0 / 479.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2853, allocations: 7.953 kB / 479.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2853, allocations: 0 / 479.8 MB, free: 7.211 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.825e-05/0.2854, allocations: 121.8 kB / 480 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2854, allocations: 4 kB / 480 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.2857, allocations: 101.5 kB / 480.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2857, allocations: 3.984 kB / 480.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2857, allocations: 4 kB / 480.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.2857, allocations: 85.05 kB / 480.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2858, allocations: 4 kB / 480.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.2858, allocations: 7.938 kB / 480.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.2859, allocations: 7.984 kB / 480.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002718/0.2862, allocations: 240.2 kB / 480.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002992/0.2865, allocations: 326.3 kB / 480.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.911e-05/0.2865, allocations: 31.84 kB / 480.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.2866, allocations: 115.6 kB / 480.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of Backend: time 3.7e-07/0.2866, allocations: 0 / 480.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.2922, allocations: 1.717 MB / 482.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005589/0.2928, allocations: 0.6022 MB / 483.2 MB, free: 3.754 MB / 382.1 MB Notification: Performance of Templates: time 0.05004/0.3428, allocations: 35.45 MB / 0.5065 GB, free: 280 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.653069439344108]