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.001231/0.001231, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001407/0.001407, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.001465/0.001465, allocations: 47.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2191, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00241/0.2216, allocations: 1.39 MB / 433.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0291/0.2507, allocations: 23.82 MB / 457.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.2507, allocations: 0 / 457.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2508, allocations: 3.938 kB / 457.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.2648, allocations: 6.037 MB / 463.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.2656, allocations: 366.7 kB / 464 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.2658, allocations: 79.64 kB / 464.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.2658, allocations: 3.984 kB / 464.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.2659, allocations: 31.91 kB / 464.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.266, allocations: 39.84 kB / 464.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.266, allocations: 8 kB / 464.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.2816, allocations: 9.042 MB / 473.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.2816, allocations: 23.91 kB / 473.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.2817, allocations: 19.92 kB / 473.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.2919, allocations: 4.397 MB / 477.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2919, allocations: 4 kB / 477.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2919, allocations: 0 / 477.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2919, allocations: 0 / 477.6 MB, free: 9.555 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.002211/0.2942, allocations: 0.868 MB / 478.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2942, allocations: 8.031 kB / 478.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.2943, allocations: 12.89 kB / 478.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.2944, allocations: 153.9 kB / 478.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2944, allocations: 4 kB / 478.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2944, allocations: 0 / 478.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2946, allocations: 75.39 kB / 478.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2946, allocations: 0 / 478.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2946, allocations: 0 / 478.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2946, allocations: 0 / 478.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2947, allocations: 39.91 kB / 478.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.2949, allocations: 165.6 kB / 478.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.2953, allocations: 89.19 kB / 479 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.2953, allocations: 29.7 kB / 479.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.2954, allocations: 19.98 kB / 479.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2954, allocations: 34.56 kB / 479.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2954, allocations: 0 / 479.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003168/0.2957, allocations: 105.7 kB / 479.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2958, allocations: 81.05 kB / 479.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2959, allocations: 137.8 kB / 479.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2959, allocations: 29.7 kB / 479.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.296, allocations: 88.14 kB / 479.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.296, allocations: 19.78 kB / 479.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2961, allocations: 21.72 kB / 479.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2962, allocations: 322.8 kB / 479.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.2963, allocations: 12 kB / 479.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.2963, allocations: 29.7 kB / 479.9 MB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2964, allocations: 61.62 kB / 480 MB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2964, allocations: 0 / 480 MB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001785/0.2966, allocations: 77.61 kB / 480.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2966, allocations: 4 kB / 480.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2966, allocations: 0 / 480.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2967, allocations: 4 kB / 480.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.2967, allocations: 11.98 kB / 480.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2967, allocations: 3.938 kB / 480.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.2968, allocations: 11.95 kB / 480.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.2968, allocations: 4 kB / 480.1 MB, free: 6.836 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 7.99e-05/0.2969, allocations: 113.8 kB / 480.2 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2969, allocations: 4 kB / 480.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.2971, allocations: 101.6 kB / 480.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2971, allocations: 0 / 480.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2971, allocations: 0 / 480.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2971, allocations: 4 kB / 480.3 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.2973, allocations: 160.6 kB / 480.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2973, allocations: 0 / 480.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.2973, allocations: 8 kB / 480.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2973, allocations: 0 / 480.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2973, allocations: 7.938 kB / 480.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2973, allocations: 4.109 kB / 480.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2973, allocations: 4 kB / 480.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2975, allocations: 114.7 kB / 480.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2976, allocations: 15.88 kB / 480.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2976, allocations: 4 kB / 480.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.2977, allocations: 7.984 kB / 480.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2977, allocations: 11.92 kB / 480.7 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2977, allocations: 0 / 480.7 MB, free: 6.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.2978, allocations: 111.3 kB / 480.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2978, allocations: 0 / 480.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002387/0.3002, allocations: 0.9663 MB / 481.7 MB, free: 5.133 MB / 382.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.003691/0.3039, allocations: 1.332 MB / 483.1 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.3041, allocations: 43.97 kB / 483.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3041, allocations: 0 / 483.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.3042, allocations: 27.92 kB / 483.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3044, allocations: 27.14 kB / 483.2 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3048, allocations: 210.6 kB / 483.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3051, allocations: 0.6846 MB / 484.1 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3052, allocations: 15.44 kB / 484.1 MB, free: 2.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3052, allocations: 0 / 484.1 MB, free: 2.723 MB / 382.1 MB Notification: Performance of Templates: time 0.02798/0.3332, allocations: 18.37 MB / 0.4907 GB, free: 340 kB / 398.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: 10.395956745138392]