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.001549/0.001549, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001671/0.001671, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001884/0.001884, allocations: 67.89 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09975, allocations: 53.33 MB / 427.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2116/0.3113, allocations: 27.23 MB / 454.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.317, allocations: 4.179 MB / 458.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.3172, allocations: 8.031 kB / 458.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.318, allocations: 216.2 kB / 458.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.3187, allocations: 337.1 kB / 459.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.3235, allocations: 1.478 MB / 460.6 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3249, allocations: 0.8856 MB / 461.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3251, allocations: 80.14 kB / 461.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006494/0.3316, allocations: 4.066 MB / 465.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.332, allocations: 292.2 kB / 465.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.332, allocations: 29.97 kB / 465.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3336, allocations: 0.734 MB / 466.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3338, allocations: 97.28 kB / 466.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.334, allocations: 193.3 kB / 467 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.3352, allocations: 0.8512 MB / 467.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3352, allocations: 5.844 kB / 467.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3352, allocations: 0 / 467.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3352, allocations: 0 / 467.8 MB, free: 3.434 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.001063/0.3363, allocations: 0.662 MB / 468.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3363, allocations: 8.812 kB / 468.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.3368, allocations: 58.72 kB / 468.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.3373, allocations: 293.6 kB / 468.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3373, allocations: 28.5 kB / 468.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3373, allocations: 29.72 kB / 468.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.3379, allocations: 337.6 kB / 469.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3379, allocations: 5.094 kB / 469.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.338, allocations: 12.38 kB / 469.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.338, allocations: 8.266 kB / 469.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.3383, allocations: 212.9 kB / 469.4 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.3516, allocations: 5.914 MB / 475.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.352, allocations: 170.5 kB / 475.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3521, allocations: 84.61 kB / 475.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.3629, allocations: 3.887 MB / 479.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.363, allocations: 41.5 kB / 479.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.363, allocations: 0 / 479.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006502/0.3695, allocations: 1.409 MB / 480.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3695, allocations: 54.16 kB / 481 MB, free: 9.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3698, allocations: 262.4 kB / 481.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3699, allocations: 31.08 kB / 481.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.37, allocations: 187.6 kB / 481.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.3701, allocations: 95.55 kB / 481.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3702, allocations: 71.77 kB / 481.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3704, allocations: 340.3 kB / 482 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3705, allocations: 90.66 kB / 482.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3708, allocations: 193.8 kB / 482.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.3712, allocations: 302.3 kB / 482.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3712, allocations: 1.375 kB / 482.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006844/0.3719, allocations: 389.9 kB / 482.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3719, allocations: 7 kB / 482.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3719, allocations: 4.797 kB / 482.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/0.3761, allocations: 0.9369 MB / 483.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3764, allocations: 67.91 kB / 483.9 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3783, allocations: 1.984 MB / 485.9 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.3785, allocations: 10.31 kB / 485.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.3785, allocations: 19.94 kB / 485.9 MB, free: 4.84 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.0001919/0.3787, allocations: 149.8 kB / 486.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.3788, allocations: 43.67 kB / 486.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.3796, allocations: 490.2 kB / 486.6 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3796, allocations: 7.984 kB / 486.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3796, allocations: 0 / 486.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007269/0.3803, allocations: 0.7124 MB / 487.3 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.3816, allocations: 0.9386 MB / 488.3 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3816, allocations: 0 / 488.3 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.3818, allocations: 51.94 kB / 488.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.3835, allocations: 316.3 kB / 488.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3835, allocations: 11.98 kB / 488.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005455/0.3841, allocations: 0.6426 MB / 489.3 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3841, allocations: 0 / 489.3 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.3851, allocations: 0.7144 MB / 490 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.3852, allocations: 110.3 kB / 490.1 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3852, allocations: 8 kB / 490.1 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3854, allocations: 12.12 kB / 490.1 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3854, allocations: 19.92 kB / 490.2 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3855, allocations: 11.8 kB / 490.2 MB, free: 392 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3857, allocations: 190 kB / 490.3 MB, free: 204 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3857, allocations: 0 / 490.3 MB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006979/0.3864, allocations: 183.7 kB / 490.5 MB, free: 20 kB / 382.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.0006327/0.387, allocations: 268.6 kB / 490.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.3878, allocations: 454.5 kB / 491.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3878, allocations: 0 / 491.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.3884, allocations: 225.5 kB / 491.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.3893, allocations: 173.6 kB / 491.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3907, allocations: 0.7933 MB / 492.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3911, allocations: 0.776 MB / 493.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.3913, allocations: 50.5 kB / 493.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3914, allocations: 31.44 kB / 493.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3914, allocations: 0 / 493.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.01715/0.4085, allocations: 10.06 MB / 0.4915 GB, free: 3.195 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.481974155642092]