Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001802/0.001802, allocations: 82.23 kB / 21.99 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.002117/0.002117, allocations: 161.4 kB / 25.25 MB, free: 3.027 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.295/1.295, allocations: 158.6 MB / 187 MB, free: 6.234 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [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.001838/0.001838, allocations: 60.3 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2015, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02864/0.2301, allocations: 24.5 MB / 373 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.2351, allocations: 3.77 MB / 376.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2353, allocations: 4 kB / 376.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.2359, allocations: 198.7 kB / 377 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006365/0.2365, allocations: 346.1 kB / 377.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.2402, allocations: 1.453 MB / 378.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2413, allocations: 0.899 MB / 379.7 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2415, allocations: 76.53 kB / 379.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/0.248, allocations: 4.162 MB / 383.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.2484, allocations: 278.9 kB / 384.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.2484, allocations: 32 kB / 384.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2497, allocations: 0.6946 MB / 384.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2499, allocations: 103.7 kB / 385 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2501, allocations: 171.4 kB / 385.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2512, allocations: 0.8492 MB / 386 MB, free: 9.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2512, allocations: 0 / 386 MB, free: 9.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2512, allocations: 4 kB / 386 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2512, allocations: 0 / 386 MB, free: 9.883 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009195/0.2522, allocations: 0.5906 MB / 386.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2522, allocations: 11.98 kB / 386.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.2526, allocations: 60.72 kB / 386.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.2531, allocations: 222.1 kB / 386.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2531, allocations: 21.03 kB / 386.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.2531, allocations: 24.38 kB / 386.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.2538, allocations: 0.494 MB / 387.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2538, allocations: 0 / 387.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2538, allocations: 12 kB / 387.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2538, allocations: 8 kB / 387.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.2542, allocations: 209.7 kB / 387.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.2667, allocations: 4.079 MB / 391.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.267, allocations: 170.6 kB / 391.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2672, allocations: 88.83 kB / 392 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.2778, allocations: 2.68 MB / 394.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2778, allocations: 34.56 kB / 394.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.2778, allocations: 0 / 394.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006306/0.2841, allocations: 1.264 MB / 396 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2842, allocations: 55.41 kB / 396 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.2844, allocations: 236 kB / 396.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2845, allocations: 29.7 kB / 396.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2846, allocations: 196.3 kB / 396.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.2847, allocations: 99.16 kB / 396.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2848, allocations: 69.64 kB / 396.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2849, allocations: 334.8 kB / 397 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2851, allocations: 95.75 kB / 397.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.2854, allocations: 198.8 kB / 397.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.2858, allocations: 299 kB / 397.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2858, allocations: 0 / 397.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007196/0.2866, allocations: 386.9 kB / 397.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2866, allocations: 8 kB / 397.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2866, allocations: 384 / 397.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/0.2908, allocations: 0.9377 MB / 398.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2911, allocations: 67.91 kB / 398.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.2928, allocations: 1.859 MB / 400.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.293, allocations: 12 kB / 400.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.293, allocations: 15.94 kB / 400.8 MB, free: 10.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2932, allocations: 162.1 kB / 401 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.2933, allocations: 27.8 kB / 401 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.2941, allocations: 0.4906 MB / 401.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.2941, allocations: 7.984 kB / 401.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2941, allocations: 3.938 kB / 401.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007905/0.2949, allocations: 0.7199 MB / 402.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2962, allocations: 0.848 MB / 403.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2962, allocations: 0 / 403.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2964, allocations: 51.94 kB / 403.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.2982, allocations: 320.3 kB / 403.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2982, allocations: 8 kB / 403.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005951/0.2988, allocations: 0.646 MB / 404.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2988, allocations: 7.922 kB / 404.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.2999, allocations: 0.7335 MB / 404.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.2999, allocations: 23.83 kB / 404.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.3, allocations: 7.938 kB / 404.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.3001, allocations: 8 kB / 404.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3002, allocations: 19.97 kB / 404.9 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.3002, allocations: 11.98 kB / 404.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3004, allocations: 161.8 kB / 405.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3004, allocations: 0 / 405.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000679/0.3011, allocations: 191.7 kB / 405.3 MB, free: 5.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005731/0.3016, allocations: 278.8 kB / 405.5 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.3025, allocations: 434.9 kB / 406 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3025, allocations: 4 kB / 406 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.303, allocations: 227.8 kB / 406.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.3039, allocations: 132.2 kB / 406.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3052, allocations: 0.789 MB / 407.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3054, allocations: 172.3 kB / 407.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3056, allocations: 46.94 kB / 407.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.3056, allocations: 24.5 kB / 407.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3056, allocations: 0 / 407.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of Templates: time 0.01681/0.3224, allocations: 9.281 MB / 416.6 MB, free: 10.45 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.355510278022848]