Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001343/0.001343, allocations: 85.27 kB / 20.68 MB, free: 1.035 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.001551/0.001551, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.454/1.454, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.107e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04006/0.04008, allocations: 33.86 MB / 358.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.04621, allocations: 4.159 MB / 363 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.04656, allocations: 11.94 kB / 363 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.04743, allocations: 282.1 kB / 363.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.04844, allocations: 0.493 MB / 363.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.05341, allocations: 1.675 MB / 365.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.05511, allocations: 1.287 MB / 366.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.05538, allocations: 123 kB / 366.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.05632, allocations: 0.639 MB / 367.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.05691, allocations: 382.8 kB / 367.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.05699, allocations: 44 kB / 367.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.05868, allocations: 0.7257 MB / 368.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.05888, allocations: 143.5 kB / 368.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.05917, allocations: 215.6 kB / 369 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.06087, allocations: 1.161 MB / 370.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.06088, allocations: 0 / 370.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.06088, allocations: 0 / 370.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.06088, allocations: 0 / 370.2 MB, free: 7.766 MB / 334.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.001226/0.06211, allocations: 0.7152 MB / 370.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.06215, allocations: 15.98 kB / 370.9 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006281/0.06278, allocations: 76.62 kB / 371 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.06333, allocations: 284.9 kB / 371.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.06337, allocations: 33.38 kB / 371.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.06344, allocations: 40.38 kB / 371.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.06437, allocations: 0.6579 MB / 372 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.06439, allocations: 4.188 kB / 372 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.06444, allocations: 20.12 kB / 372 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.06446, allocations: 8 kB / 372 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.06499, allocations: 307.6 kB / 372.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.07885, allocations: 4.565 MB / 376.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.07937, allocations: 254.4 kB / 377.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.07962, allocations: 148.6 kB / 377.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.0907, allocations: 2.676 MB / 380 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.09073, allocations: 38.56 kB / 380 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.073e-06/0.09074, allocations: 0 / 380 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.0128/0.1035, allocations: 2.319 MB / 382.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1036, allocations: 55.41 kB / 382.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1039, allocations: 277.8 kB / 382.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.104, allocations: 29.7 kB / 382.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1041, allocations: 228.4 kB / 382.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1043, allocations: 170.6 kB / 383.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1044, allocations: 98.3 kB / 383.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1046, allocations: 350.7 kB / 383.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1049, allocations: 149.3 kB / 383.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.1054, allocations: 280.7 kB / 383.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.1061, allocations: 477.2 kB / 384.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1061, allocations: 0 / 384.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001177/0.1073, allocations: 0.5895 MB / 385 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1073, allocations: 4 kB / 385 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1073, allocations: 4 kB / 385 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008577/0.1159, allocations: 1.844 MB / 386.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.1163, allocations: 111.8 kB / 386.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.1188, allocations: 2.447 MB / 389.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.1191, allocations: 16 kB / 389.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.1192, allocations: 20.22 kB / 389.4 MB, free: 3.922 MB / 350.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.0002424/0.1194, allocations: 181.6 kB / 389.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.1195, allocations: 39.77 kB / 389.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1209, allocations: 0.8611 MB / 390.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.1209, allocations: 11.98 kB / 390.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1209, allocations: 0 / 390.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/0.1221, allocations: 0.9712 MB / 391.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.1242, allocations: 1.363 MB / 392.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1242, allocations: 4.031 kB / 392.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.1245, allocations: 75.91 kB / 392.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003655/0.1282, allocations: 0.6141 MB / 393.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.1282, allocations: 16 kB / 393.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.1295, allocations: 1.308 MB / 394.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1295, allocations: 0 / 394.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1313, allocations: 1.247 MB / 396.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.1314, allocations: 39.69 kB / 396.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.1314, allocations: 12 kB / 396.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1317, allocations: 4 kB / 396.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.1317, allocations: 32.06 kB / 396.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.1318, allocations: 23.98 kB / 396.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.132, allocations: 189.2 kB / 396.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.132, allocations: 0 / 396.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.1328, allocations: 231.7 kB / 396.6 MB, free: 12.48 MB / 366.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.0006377/0.1334, allocations: 294.6 kB / 396.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.1346, allocations: 0.6797 MB / 397.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1346, allocations: 4 kB / 397.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.1356, allocations: 428.7 kB / 398 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1368, allocations: 208.8 kB / 398.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1387, allocations: 1.125 MB / 399.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1389, allocations: 233.3 kB / 399.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.1392, allocations: 75.28 kB / 399.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.1393, allocations: 36.5 kB / 399.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1393, allocations: 0 / 399.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of Templates: time 0.0215/0.1608, allocations: 11.9 MB / 411.6 MB, free: 13.58 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.147144488990307]