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.001876/0.001876, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002312/0.002312, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.824 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.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 0.001985/0.001985, allocations: 59.89 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2378, allocations: 53.41 MB / 431.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03954/0.2773, allocations: 34 MB / 465.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005806/0.2831, allocations: 4.167 MB / 469.8 MB, free: 280 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.2835, allocations: 11.94 kB / 469.8 MB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008668/0.2844, allocations: 274.4 kB / 470.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2854, allocations: 493.3 kB / 470.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.2897, allocations: 1.631 MB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.2913, allocations: 1.284 MB / 473.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2916, allocations: 122.9 kB / 473.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.2924, allocations: 494.4 kB / 474.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.293, allocations: 410.3 kB / 474.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-05/0.2931, allocations: 48 kB / 474.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2946, allocations: 0.722 MB / 475.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2948, allocations: 143.5 kB / 475.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.2951, allocations: 235.2 kB / 475.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.2966, allocations: 1.055 MB / 476.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2966, allocations: 8 kB / 476.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2966, allocations: 0 / 476.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2966, allocations: 0 / 476.7 MB, free: 9.367 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.001287/0.2979, allocations: 0.7152 MB / 477.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2979, allocations: 11.98 kB / 477.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.2985, allocations: 80.62 kB / 477.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.2991, allocations: 281.8 kB / 477.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.2991, allocations: 29.38 kB / 477.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.2992, allocations: 40.31 kB / 477.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.3001, allocations: 0.6653 MB / 478.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.3001, allocations: 3.953 kB / 478.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3002, allocations: 20 kB / 478.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3002, allocations: 8 kB / 478.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.3007, allocations: 303.7 kB / 478.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.3139, allocations: 4.573 MB / 483.4 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.3144, allocations: 251.2 kB / 483.7 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3146, allocations: 136.8 kB / 483.8 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.3251, allocations: 2.692 MB / 486.5 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.3251, allocations: 38.56 kB / 486.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.845e-06/0.3251, allocations: 4 kB / 486.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01212/0.3372, allocations: 2.31 MB / 488.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3373, allocations: 59.34 kB / 488.9 MB, free: 12.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.3376, allocations: 277.7 kB / 489.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.3377, allocations: 37.7 kB / 489.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3378, allocations: 228.4 kB / 489.4 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.338, allocations: 174.5 kB / 489.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3382, allocations: 94.34 kB / 489.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3383, allocations: 346.8 kB / 490 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.3386, allocations: 149.2 kB / 490.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.339, allocations: 280.6 kB / 490.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.3398, allocations: 468.3 kB / 490.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3398, allocations: 0 / 490.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001166/0.3409, allocations: 0.5879 MB / 491.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3409, allocations: 8 kB / 491.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.341, allocations: 7.938 kB / 491.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00805/0.349, allocations: 1.852 MB / 493.4 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.3495, allocations: 119.8 kB / 493.5 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.3518, allocations: 2.424 MB / 495.9 MB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.3521, allocations: 16 kB / 495.9 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.3521, allocations: 23.98 kB / 495.9 MB, free: 5.531 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.0002496/0.3524, allocations: 173.8 kB / 496.1 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.3525, allocations: 43.7 kB / 496.1 MB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3538, allocations: 0.8685 MB / 497 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.3538, allocations: 16.06 kB / 497 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3538, allocations: 0 / 497 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.355, allocations: 0.9823 MB / 498 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3571, allocations: 1.355 MB / 499.4 MB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3571, allocations: 0 / 499.4 MB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.3574, allocations: 83.92 kB / 499.5 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/0.3609, allocations: 0.614 MB / 0.4883 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.3609, allocations: 20 kB / 0.4884 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.362, allocations: 1.3 MB / 0.4896 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.362, allocations: 0 / 0.4896 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3637, allocations: 1.25 MB / 0.4909 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.3638, allocations: 35.75 kB / 0.4909 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.3639, allocations: 15.98 kB / 0.4909 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3641, allocations: 8 kB / 0.4909 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3642, allocations: 23.95 kB / 0.4909 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3642, allocations: 19.98 kB / 0.491 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3644, allocations: 193.1 kB / 0.4911 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3644, allocations: 8.062 kB / 0.4911 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007714/0.3652, allocations: 227.7 kB / 0.4914 GB, free: 14.08 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.0006296/0.3658, allocations: 278.2 kB / 0.4916 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3671, allocations: 0.6911 MB / 0.4923 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3671, allocations: 0 / 0.4923 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.3681, allocations: 436.2 kB / 0.4927 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3692, allocations: 200.6 kB / 0.4929 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3712, allocations: 1.236 MB / 0.4941 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3715, allocations: 237.2 kB / 0.4943 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000264/0.3717, allocations: 63.36 kB / 0.4944 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.3718, allocations: 39.44 kB / 0.4944 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3718, allocations: 0 / 0.4944 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.02195/0.3938, allocations: 12.78 MB / 0.5069 GB, free: 14.21 MB / 430.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.25241899676621]