Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 216.9 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 71.88 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2427, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.04347/0.2862, allocations: 27.41 MB / 457.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007739/0.2939, allocations: 4.214 MB / 461.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.2942, allocations: 4 kB / 461.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.2949, allocations: 206.7 kB / 461.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.2959, allocations: 342.1 kB / 462 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.3017, allocations: 1.462 MB / 463.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.3033, allocations: 0.899 MB / 464.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3036, allocations: 80.64 kB / 464.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009896/0.3135, allocations: 4.115 MB / 468.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.314, allocations: 282.9 kB / 468.8 MB, free: 404 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.3141, allocations: 36 kB / 468.8 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.3164, allocations: 0.7298 MB / 469.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.3165, allocations: 99.59 kB / 469.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.3168, allocations: 191.3 kB / 469.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.3186, allocations: 0.8569 MB / 470.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3186, allocations: 4 kB / 470.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3186, allocations: 0 / 470.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3186, allocations: 0 / 470.7 MB, free: 14.48 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001329/0.3199, allocations: 0.658 MB / 471.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3199, allocations: 11.97 kB / 471.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.3205, allocations: 60.72 kB / 471.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.3211, allocations: 291.8 kB / 471.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3211, allocations: 20.94 kB / 471.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.3212, allocations: 24.38 kB / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.3219, allocations: 342.6 kB / 472.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3219, allocations: 3.938 kB / 472.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.3219, allocations: 16 kB / 472.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3219, allocations: 8 kB / 472.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3224, allocations: 218 kB / 472.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.3372, allocations: 5.904 MB / 478.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3375, allocations: 166.6 kB / 478.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3376, allocations: 80.84 kB / 478.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.3487, allocations: 3.896 MB / 482.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.3488, allocations: 38.56 kB / 482.4 MB, free: 1.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.3488, allocations: 0 / 482.4 MB, free: 1.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006576/0.3554, allocations: 1.421 MB / 483.8 MB, free: 336 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3554, allocations: 59.39 kB / 483.9 MB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.3557, allocations: 266.6 kB / 484.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3558, allocations: 29.64 kB / 484.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3559, allocations: 184.5 kB / 484.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.356, allocations: 95.17 kB / 484.5 MB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3561, allocations: 65.66 kB / 484.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3563, allocations: 338.8 kB / 484.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3564, allocations: 91.95 kB / 485 MB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3567, allocations: 186.8 kB / 485.1 MB, free: 14.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3571, allocations: 307 kB / 485.4 MB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3571, allocations: 0 / 485.4 MB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007397/0.3579, allocations: 391.1 kB / 485.8 MB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3579, allocations: 11.97 kB / 485.8 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3579, allocations: 4 kB / 485.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004373/0.3623, allocations: 0.9398 MB / 486.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3626, allocations: 63.91 kB / 486.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.3644, allocations: 1.978 MB / 488.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3646, allocations: 12 kB / 488.8 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3646, allocations: 12.16 kB / 488.8 MB, free: 11.03 MB / 398.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.0001787/0.3648, allocations: 157.7 kB / 489 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.3649, allocations: 31.75 kB / 489 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/0.3657, allocations: 494.2 kB / 489.5 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3657, allocations: 8.031 kB / 489.5 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3657, allocations: 0 / 489.5 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007798/0.3665, allocations: 0.716 MB / 490.2 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3679, allocations: 0.9463 MB / 491.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.3679, allocations: 0 / 491.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.3681, allocations: 51.91 kB / 491.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.37, allocations: 312.5 kB / 491.5 MB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.37, allocations: 12 kB / 491.5 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005904/0.3706, allocations: 0.646 MB / 492.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3706, allocations: 0 / 492.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3716, allocations: 0.7215 MB / 492.9 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.3717, allocations: 105 kB / 493 MB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.3717, allocations: 11.98 kB / 493 MB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3719, allocations: 4 kB / 493 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3719, allocations: 11.98 kB / 493 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.372, allocations: 15.98 kB / 493.1 MB, free: 6.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3722, allocations: 182 kB / 493.2 MB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 8 kB / 493.2 MB, free: 6.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006501/0.3728, allocations: 187.7 kB / 493.4 MB, free: 6.195 MB / 398.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.0005799/0.3734, allocations: 270.7 kB / 493.7 MB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.3742, allocations: 451 kB / 494.1 MB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3743, allocations: 0 / 494.1 MB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.3748, allocations: 219.7 kB / 494.3 MB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.3757, allocations: 179.7 kB / 494.5 MB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3771, allocations: 0.7988 MB / 495.3 MB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3775, allocations: 0.7876 MB / 496.1 MB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3777, allocations: 46.95 kB / 496.2 MB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.3778, allocations: 31.42 kB / 496.2 MB, free: 3.363 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3778, allocations: 0 / 496.2 MB, free: 3.363 MB / 398.1 MB Notification: Performance of Templates: time 0.01754/0.3953, allocations: 10.2 MB / 0.4945 GB, free: 9.203 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.598112205043435]