Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001363/0.001363, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001679/0.001679, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03953/0.2784, allocations: 34 MB / 465.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006081/0.2845, allocations: 4.167 MB / 469.8 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.285, allocations: 7.938 kB / 469.8 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.286, allocations: 278.2 kB / 470 MB, free: 148 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.2873, allocations: 497.5 kB / 470.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.2919, allocations: 1.626 MB / 472.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.2936, allocations: 1.292 MB / 473.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.2939, allocations: 130.9 kB / 473.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.2948, allocations: 494.5 kB / 474.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.2956, allocations: 426.3 kB / 474.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2957, allocations: 48 kB / 474.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.2973, allocations: 0.7571 MB / 475.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.2975, allocations: 143.5 kB / 475.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.2978, allocations: 239.2 kB / 475.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.2994, allocations: 1.055 MB / 476.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2994, allocations: 4 kB / 476.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2994, allocations: 4 kB / 476.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.2994, allocations: 0 / 476.7 MB, free: 9.453 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0013/0.3007, allocations: 0.7114 MB / 477.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3008, allocations: 8.031 kB / 477.4 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.3014, allocations: 80.62 kB / 477.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.302, allocations: 285.8 kB / 477.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.302, allocations: 33.36 kB / 477.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.3021, allocations: 36.38 kB / 477.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.303, allocations: 0.6653 MB / 478.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.303, allocations: 7.875 kB / 478.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.3031, allocations: 23.98 kB / 478.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3031, allocations: 8 kB / 478.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.3036, allocations: 303.7 kB / 478.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.3182, allocations: 4.569 MB / 483.4 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.3187, allocations: 250.5 kB / 483.7 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.319, allocations: 139.4 kB / 483.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.3313, allocations: 2.688 MB / 486.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.3313, allocations: 42.56 kB / 486.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.3313, allocations: 0 / 486.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01323/0.3446, allocations: 2.312 MB / 488.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3446, allocations: 59.34 kB / 488.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3449, allocations: 277.7 kB / 489.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.345, allocations: 37.7 kB / 489.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3452, allocations: 228.4 kB / 489.4 MB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3453, allocations: 170.5 kB / 489.6 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3455, allocations: 98.34 kB / 489.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3457, allocations: 346.8 kB / 490 MB, free: 11.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.3459, allocations: 149.2 kB / 490.2 MB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.3464, allocations: 280.6 kB / 490.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.3471, allocations: 472.2 kB / 490.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3471, allocations: 0 / 490.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001246/0.3483, allocations: 0.5879 MB / 491.5 MB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3483, allocations: 8 kB / 491.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3483, allocations: 7.938 kB / 491.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/0.3576, allocations: 1.858 MB / 493.4 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.358, allocations: 111.8 kB / 493.5 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.3603, allocations: 2.427 MB / 495.9 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3606, allocations: 19.94 kB / 495.9 MB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.3606, allocations: 24 kB / 496 MB, free: 5.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.3609, allocations: 173.8 kB / 496.1 MB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.361, allocations: 47.7 kB / 496.2 MB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3624, allocations: 0.8685 MB / 497 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.3624, allocations: 8 kB / 497.1 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3624, allocations: 0 / 497.1 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.3635, allocations: 0.9784 MB / 498 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.3656, allocations: 1.359 MB / 499.4 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3656, allocations: 0 / 499.4 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.366, allocations: 75.91 kB / 499.5 MB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/0.3697, allocations: 0.6219 MB / 0.4884 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.3697, allocations: 19.98 kB / 0.4884 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3709, allocations: 1.296 MB / 0.4897 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3709, allocations: 0 / 0.4897 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3727, allocations: 1.254 MB / 0.4909 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3728, allocations: 35.7 kB / 0.4909 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.3728, allocations: 12 kB / 0.4909 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3731, allocations: 8 kB / 0.4909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.3731, allocations: 27.98 kB / 0.491 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.3732, allocations: 19.98 kB / 0.491 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3734, allocations: 201.1 kB / 0.4912 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3734, allocations: 64 / 0.4912 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008004/0.3742, allocations: 231.7 kB / 0.4914 GB, free: 14.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006314/0.3748, allocations: 270.7 kB / 0.4916 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3761, allocations: 0.6756 MB / 0.4923 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3761, allocations: 8 kB / 0.4923 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.3771, allocations: 432.2 kB / 0.4927 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3783, allocations: 208.8 kB / 0.4929 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.3803, allocations: 1.248 MB / 0.4941 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3805, allocations: 233.3 kB / 0.4944 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.3808, allocations: 67.36 kB / 0.4944 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.3809, allocations: 35.44 kB / 0.4945 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3809, allocations: 0 / 0.4945 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.02175/0.4026, allocations: 12.99 MB / 0.5072 GB, free: 14.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.171108142938465]