Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.91 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2666, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002606/0.2692, allocations: 1.363 MB / 425.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.2839, allocations: 12.18 MB / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.2839, allocations: 0 / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.284, allocations: 3.984 kB / 437.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.2873, allocations: 1.059 MB / 438.5 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.2891, allocations: 0.6331 MB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2893, allocations: 67.64 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.2893, allocations: 4 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.2894, allocations: 31.91 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.2895, allocations: 31.91 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2895, allocations: 4 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.2931, allocations: 1.647 MB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.2931, allocations: 11.98 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.2931, allocations: 19.88 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.2961, allocations: 1.076 MB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2961, allocations: 0 / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2961, allocations: 0 / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2961, allocations: 0 / 442 MB, free: 12.5 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.001006/0.2971, allocations: 496.2 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2971, allocations: 12.03 kB / 442.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.2973, allocations: 4.938 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2974, allocations: 126.4 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2975, allocations: 384 / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2975, allocations: 4.375 kB / 442.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.2977, allocations: 67.52 kB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2977, allocations: 4 kB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2977, allocations: 0 / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2977, allocations: 3.938 kB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2978, allocations: 31.91 kB / 442.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.298, allocations: 141.7 kB / 442.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.2983, allocations: 77.12 kB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.2984, allocations: 29.78 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006161/0.3045, allocations: 1.506 MB / 444.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3046, allocations: 42.5 kB / 444.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.3046, allocations: 0 / 444.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003657/0.305, allocations: 85.55 kB / 444.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.305, allocations: 77.11 kB / 444.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3051, allocations: 113.8 kB / 444.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3052, allocations: 25.7 kB / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3052, allocations: 88.14 kB / 444.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3052, allocations: 15.86 kB / 444.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.3053, allocations: 25.7 kB / 445 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3054, allocations: 314.8 kB / 445.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.3055, allocations: 15.92 kB / 445.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.3056, allocations: 25.7 kB / 445.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3057, allocations: 41.7 kB / 445.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3057, allocations: 0 / 445.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001832/0.3059, allocations: 69.55 kB / 445.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3059, allocations: 4 kB / 445.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3059, allocations: 4 kB / 445.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3059, allocations: 0 / 445.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.306, allocations: 8.125 kB / 445.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.306, allocations: 4 kB / 445.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.3061, allocations: 19.88 kB / 445.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3061, allocations: 320 / 445.5 MB, free: 8.828 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.482e-05/0.3062, allocations: 113.8 kB / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3062, allocations: 7.938 kB / 445.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3065, allocations: 106 kB / 445.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3065, allocations: 4 kB / 445.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3065, allocations: 4.094 kB / 445.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3065, allocations: 3.984 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3067, allocations: 148.7 kB / 445.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3067, allocations: 0 / 445.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.3067, allocations: 15.92 kB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3067, allocations: 0 / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3068, allocations: 4 kB / 445.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3068, allocations: 0 / 445.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3068, allocations: 3.938 kB / 445.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.307, allocations: 105.9 kB / 446 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.307, allocations: 15.81 kB / 446 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.307, allocations: 8 kB / 446 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.3071, allocations: 0 / 446 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3071, allocations: 7.984 kB / 446 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3072, allocations: 4 kB / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.3072, allocations: 95.27 kB / 446.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3072, allocations: 4 kB / 446.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009579/0.3082, allocations: 326.8 kB / 446.4 MB, free: 7.789 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.001387/0.3096, allocations: 0.5719 MB / 447 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3098, allocations: 35.91 kB / 447 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3098, allocations: 4 kB / 447 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.3098, allocations: 19.92 kB / 447 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3101, allocations: 19.88 kB / 447.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.3105, allocations: 182.1 kB / 447.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3109, allocations: 0.6885 MB / 447.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.3109, allocations: 27.36 kB / 448 MB, free: 6.172 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3109, allocations: 0 / 448 MB, free: 6.172 MB / 350.1 MB Notification: Performance of Templates: time 0.01092/0.3219, allocations: 5.949 MB / 453.9 MB, free: 220 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.361346223158762]