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.001649/0.001649, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001791/0.001791, allocations: 204.4 kB / 23.72 MB, free: 4.391 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.0021/0.0021, allocations: 59.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2263, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.029/0.2553, allocations: 24.56 MB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.2603, allocations: 3.766 MB / 460 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2605, allocations: 7.938 kB / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.2611, allocations: 194.8 kB / 460.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.2618, allocations: 342.1 kB / 460.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.2655, allocations: 1.463 MB / 462 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2666, allocations: 0.9028 MB / 462.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2668, allocations: 72.39 kB / 462.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006312/0.2731, allocations: 4.143 MB / 467.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.2735, allocations: 274.9 kB / 467.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.2736, allocations: 32 kB / 467.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2749, allocations: 0.6985 MB / 468.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.275, allocations: 95.66 kB / 468.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.2752, allocations: 171.4 kB / 468.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2763, allocations: 0.8492 MB / 469.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2763, allocations: 0 / 469.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2763, allocations: 0 / 469.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2763, allocations: 0 / 469.2 MB, free: 0.8555 MB / 366.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.0009845/0.2773, allocations: 0.5867 MB / 469.8 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2774, allocations: 11.98 kB / 469.8 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.2778, allocations: 56.72 kB / 469.8 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2783, allocations: 234.9 kB / 470.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.2783, allocations: 25.02 kB / 470.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.2784, allocations: 28.38 kB / 470.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.279, allocations: 497 kB / 470.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.279, allocations: 0 / 470.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.279, allocations: 12 kB / 470.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.279, allocations: 8 kB / 470.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2794, allocations: 209.7 kB / 470.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.2916, allocations: 4.094 MB / 474.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.292, allocations: 158.7 kB / 475.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2921, allocations: 84.83 kB / 475.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.3026, allocations: 2.688 MB / 477.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.3026, allocations: 38.56 kB / 477.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/0.3026, allocations: 0 / 477.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006182/0.3088, allocations: 1.272 MB / 479.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3088, allocations: 55.41 kB / 479.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3091, allocations: 236 kB / 479.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3092, allocations: 29.7 kB / 479.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3093, allocations: 192.3 kB / 479.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.3094, allocations: 99.14 kB / 479.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3095, allocations: 69.64 kB / 479.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3096, allocations: 334.8 kB / 480.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3098, allocations: 87.97 kB / 480.2 MB, free: 5.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3101, allocations: 194.9 kB / 480.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.3105, allocations: 311.7 kB / 480.7 MB, free: 4.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3105, allocations: 4 kB / 480.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007194/0.3112, allocations: 382.9 kB / 481.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3113, allocations: 8 kB / 481.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3113, allocations: 384 / 481.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/0.3153, allocations: 0.9358 MB / 482 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3156, allocations: 71.84 kB / 482.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3173, allocations: 1.848 MB / 484 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3175, allocations: 12 kB / 484 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3175, allocations: 12 kB / 484 MB, free: 1.52 MB / 382.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.000183/0.3177, allocations: 165.9 kB / 484.2 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3178, allocations: 23.86 kB / 484.2 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.3185, allocations: 498.4 kB / 484.7 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3186, allocations: 7.984 kB / 484.7 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3186, allocations: 0 / 484.7 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007788/0.3193, allocations: 0.7279 MB / 485.4 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3206, allocations: 0.8402 MB / 486.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3206, allocations: 0 / 486.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3208, allocations: 44.02 kB / 486.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.3225, allocations: 328.4 kB / 486.6 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3226, allocations: 8 kB / 486.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005834/0.3232, allocations: 0.646 MB / 487.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3232, allocations: 0 / 487.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3242, allocations: 0.7372 MB / 488 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.3242, allocations: 31.72 kB / 488 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3243, allocations: 8 kB / 488 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3244, allocations: 8 kB / 488 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.3245, allocations: 19.97 kB / 488.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3245, allocations: 7.984 kB / 488.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3247, allocations: 165.6 kB / 488.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 4 kB / 488.2 MB, free: 13.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006415/0.3253, allocations: 187.7 kB / 488.4 MB, free: 12.88 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.0005731/0.3259, allocations: 278.6 kB / 488.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.3267, allocations: 435.2 kB / 489.1 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3267, allocations: 3.938 kB / 489.1 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.3272, allocations: 227.8 kB / 489.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.3281, allocations: 139.8 kB / 489.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3294, allocations: 0.7974 MB / 490.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.3296, allocations: 180.2 kB / 490.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3298, allocations: 50.92 kB / 490.5 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3298, allocations: 27.44 kB / 490.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3298, allocations: 0 / 490.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of Templates: time 0.01675/0.3466, allocations: 9.807 MB / 0.4886 GB, free: 0.9805 MB / 398.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.606273205950856]