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.00135/0.00135, allocations: 111.6 kB / 21.19 MB, free: 0.6641 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.001541/0.001541, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002222/0.002222, allocations: 72.12 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2693, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02977/0.2991, allocations: 24.56 MB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00563/0.3047, allocations: 3.766 MB / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.3051, allocations: 7.938 kB / 460.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.306, allocations: 194.8 kB / 460.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.307, allocations: 342.1 kB / 461.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.3122, allocations: 1.46 MB / 462.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3136, allocations: 0.8951 MB / 463.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3139, allocations: 76.78 kB / 463.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007002/0.3209, allocations: 4.135 MB / 467.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/0.3213, allocations: 274.9 kB / 468.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.3214, allocations: 32 kB / 468.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.323, allocations: 0.6985 MB / 468.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3231, allocations: 95.66 kB / 468.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.3233, allocations: 171.4 kB / 469.1 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3248, allocations: 0.857 MB / 469.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3248, allocations: 0 / 469.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3248, allocations: 0 / 469.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3248, allocations: 0 / 469.9 MB, free: 0.8867 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.0009993/0.3258, allocations: 0.5828 MB / 470.5 MB, free: 280 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3258, allocations: 15.98 kB / 470.5 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.3263, allocations: 56.72 kB / 470.6 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.3268, allocations: 234 kB / 470.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3268, allocations: 21.03 kB / 470.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3269, allocations: 24.38 kB / 470.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.3275, allocations: 0.4901 MB / 471.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3275, allocations: 3.938 kB / 471.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.3276, allocations: 12 kB / 471.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3276, allocations: 8 kB / 471.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.328, allocations: 209.8 kB / 471.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.3403, allocations: 4.087 MB / 475.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3407, allocations: 181.5 kB / 475.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3408, allocations: 84.83 kB / 475.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009998/0.3508, allocations: 2.68 MB / 478.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.3509, allocations: 34.56 kB / 478.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/0.3509, allocations: 4 kB / 478.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0063/0.3572, allocations: 1.268 MB / 479.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.3572, allocations: 51.41 kB / 480 MB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3575, allocations: 236 kB / 480.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3576, allocations: 29.7 kB / 480.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3577, allocations: 192.3 kB / 480.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.3578, allocations: 103.2 kB / 480.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3579, allocations: 73.62 kB / 480.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3581, allocations: 334.8 kB / 480.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3583, allocations: 87.97 kB / 481 MB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.3585, allocations: 186.9 kB / 481.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.359, allocations: 307.7 kB / 481.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.359, allocations: 0 / 481.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007965/0.3598, allocations: 394.9 kB / 481.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3598, allocations: 8 kB / 481.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3598, allocations: 4 kB / 481.9 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/0.3639, allocations: 0.933 MB / 482.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.3642, allocations: 71.84 kB / 482.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.366, allocations: 1.848 MB / 484.7 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3663, allocations: 11.94 kB / 484.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3663, allocations: 16 kB / 484.7 MB, free: 1.551 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.00022/0.3665, allocations: 157.7 kB / 484.9 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.3666, allocations: 31.73 kB / 484.9 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.3674, allocations: 490.5 kB / 485.4 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3674, allocations: 7.984 kB / 485.4 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3674, allocations: 4 kB / 485.4 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007764/0.3682, allocations: 0.7357 MB / 486.2 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.3696, allocations: 0.8402 MB / 487 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3696, allocations: 4 kB / 487 MB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3698, allocations: 43.92 kB / 487 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.3715, allocations: 316.5 kB / 487.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.3715, allocations: 8 kB / 487.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005807/0.3721, allocations: 0.6499 MB / 488 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3721, allocations: 0 / 488 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3731, allocations: 0.7371 MB / 488.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.3732, allocations: 27.78 kB / 488.8 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3732, allocations: 11.94 kB / 488.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3734, allocations: 4 kB / 488.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3734, allocations: 15.97 kB / 488.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3734, allocations: 16.11 kB / 488.8 MB, free: 13.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3736, allocations: 169.6 kB / 489 MB, free: 13.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 489 MB, free: 13.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.3743, allocations: 183.7 kB / 489.2 MB, free: 12.91 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.0006152/0.3749, allocations: 278.7 kB / 489.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.3758, allocations: 439.1 kB / 489.9 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3758, allocations: 4 kB / 489.9 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.3764, allocations: 219.8 kB / 490.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.3772, allocations: 140.2 kB / 490.2 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3786, allocations: 0.8418 MB / 491.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.3788, allocations: 168.2 kB / 491.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.3789, allocations: 35.42 kB / 491.3 MB, free: 10.74 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3789, allocations: 0 / 491.3 MB, free: 10.74 MB / 398.1 MB Notification: Performance of Templates: time 0.01301/0.3919, allocations: 8.279 MB / 499.5 MB, free: 2.465 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 8.688395447097719]