Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001792/0.001792, allocations: 83.69 kB / 22 MB, free: 5.18 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.002072/0.002072, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.92 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2083, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00243/0.2107, allocations: 1.339 MB / 349.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03091/0.2416, allocations: 21.26 MB / 371.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2417, allocations: 0 / 371.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2418, allocations: 7.938 kB / 371.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.2558, allocations: 5.611 MB / 376.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.2567, allocations: 366.7 kB / 377.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.2569, allocations: 79.69 kB / 377.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.2569, allocations: 4 kB / 377.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.257, allocations: 31.86 kB / 377.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2571, allocations: 31.89 kB / 377.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2571, allocations: 4 kB / 377.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.2725, allocations: 8.258 MB / 385.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.2726, allocations: 11.98 kB / 385.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.2726, allocations: 27.91 kB / 385.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008032/0.2807, allocations: 4.295 MB / 389.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2807, allocations: 0 / 389.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2807, allocations: 0 / 389.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.2807, allocations: 0 / 389.8 MB, free: 6.086 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.00202/0.2827, allocations: 0.8525 MB / 390.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2827, allocations: 8.031 kB / 390.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.2828, allocations: 8.891 kB / 390.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.2829, allocations: 138 kB / 390.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.283, allocations: 7.984 kB / 390.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.283, allocations: 4 kB / 390.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2832, allocations: 130.7 kB / 391 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2832, allocations: 0 / 391 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2832, allocations: 4 kB / 391 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2832, allocations: 0 / 391 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2833, allocations: 27.98 kB / 391 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.2835, allocations: 138.2 kB / 391.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.2839, allocations: 97.06 kB / 391.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.528e-05/0.2839, allocations: 29.77 kB / 391.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.284, allocations: 15.98 kB / 391.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.284, allocations: 34.56 kB / 391.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.284, allocations: 3.938 kB / 391.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003147/0.2843, allocations: 101.5 kB / 391.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2844, allocations: 81.05 kB / 391.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2845, allocations: 137.8 kB / 391.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2845, allocations: 25.7 kB / 391.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.2846, allocations: 92.12 kB / 391.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.2846, allocations: 23.8 kB / 391.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2847, allocations: 13.72 kB / 391.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2848, allocations: 326.8 kB / 392.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.2849, allocations: 19.98 kB / 392.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.2849, allocations: 29.7 kB / 392.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2851, allocations: 49.7 kB / 392.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2851, allocations: 0 / 392.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.2853, allocations: 86.02 kB / 392.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2853, allocations: 8 kB / 392.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2853, allocations: 3.984 kB / 392.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2853, allocations: 4 kB / 392.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.2854, allocations: 8 kB / 392.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2854, allocations: 4 kB / 392.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.2854, allocations: 4.062 kB / 392.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2854, allocations: 8 kB / 392.3 MB, free: 3.367 MB / 350.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.492e-05/0.2855, allocations: 117.8 kB / 392.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2855, allocations: 7.953 kB / 392.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.2858, allocations: 101.6 kB / 392.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2858, allocations: 0 / 392.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2858, allocations: 4 kB / 392.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2858, allocations: 3.984 kB / 392.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2859, allocations: 125.2 kB / 392.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.286, allocations: 0 / 392.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.286, allocations: 12 kB / 392.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.286, allocations: 0 / 392.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.286, allocations: 3.938 kB / 392.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.286, allocations: 384 / 392.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.286, allocations: 4 kB / 392.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.2862, allocations: 117.8 kB / 392.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.2863, allocations: 19.92 kB / 392.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2863, allocations: 7.922 kB / 392.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.2864, allocations: 4 kB / 392.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2864, allocations: 7.984 kB / 392.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2864, allocations: 4 kB / 392.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.072e-05/0.2865, allocations: 111.3 kB / 392.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2865, allocations: 0 / 392.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002144/0.2887, allocations: 0.9314 MB / 393.9 MB, free: 1.727 MB / 350.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.003847/0.2925, allocations: 1.359 MB / 395.2 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.2927, allocations: 51.91 kB / 395.3 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2927, allocations: 0 / 395.3 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.2928, allocations: 27.92 kB / 395.3 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.293, allocations: 19.92 kB / 395.3 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2935, allocations: 192.8 kB / 395.5 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.861e-05/0.2936, allocations: 67.34 kB / 395.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.2936, allocations: 11.98 kB / 395.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.2936, allocations: 20.48 kB / 395.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2936, allocations: 4 kB / 395.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Templates: time 0.04273/0.3364, allocations: 28.58 MB / 424.2 MB, free: 3.273 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.443007235066034]