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.001582/0.001582, allocations: 112.9 kB / 19.17 MB, free: 3.883 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.001676/0.001676, allocations: 206.5 kB / 22.13 MB, free: 0.9336 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.553/1.553, allocations: 230.2 MB / 255.2 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.001847/0.001847, allocations: 72.11 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1004, allocations: 53.31 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2164/0.3169, allocations: 27.23 MB / 455.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005628/0.3225, allocations: 4.178 MB / 459.3 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3228, allocations: 4.062 kB / 459.3 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.3236, allocations: 211.6 kB / 459.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008035/0.3244, allocations: 349.2 kB / 459.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.3291, allocations: 1.474 MB / 461.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3304, allocations: 0.8895 MB / 462.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3306, allocations: 76.17 kB / 462.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007162/0.3377, allocations: 4.071 MB / 466.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004788/0.3382, allocations: 291.2 kB / 466.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.3383, allocations: 31.16 kB / 466.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.34, allocations: 0.7328 MB / 467.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3401, allocations: 97.05 kB / 467.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3404, allocations: 194.5 kB / 467.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.3417, allocations: 0.8475 MB / 468.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3417, allocations: 0 / 468.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3417, allocations: 0 / 468.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3417, allocations: 4 kB / 468.5 MB, free: 3.453 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.00104/0.3428, allocations: 0.6661 MB / 469.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3428, allocations: 9.094 kB / 469.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.3433, allocations: 61.78 kB / 469.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3437, allocations: 291.3 kB / 469.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3438, allocations: 24 kB / 469.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.3438, allocations: 25.81 kB / 469.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.3444, allocations: 341.4 kB / 469.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3444, allocations: 5.125 kB / 469.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.3444, allocations: 12.56 kB / 469.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3444, allocations: 10.69 kB / 469.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.3448, allocations: 211.4 kB / 470.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3584, allocations: 5.915 MB / 476 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.3587, allocations: 172.5 kB / 476.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3589, allocations: 85.05 kB / 476.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.3699, allocations: 3.89 MB / 480.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.3699, allocations: 30.56 kB / 480.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.3699, allocations: 7.344 kB / 480.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006579/0.3765, allocations: 1.405 MB / 481.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3765, allocations: 54.06 kB / 481.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.3768, allocations: 262.2 kB / 481.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3769, allocations: 36.39 kB / 482 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.377, allocations: 190.2 kB / 482.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.3771, allocations: 95.55 kB / 482.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3772, allocations: 71.77 kB / 482.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3774, allocations: 332.3 kB / 482.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3775, allocations: 94.72 kB / 482.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3778, allocations: 197.7 kB / 482.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.3782, allocations: 302 kB / 483.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3782, allocations: 1.375 kB / 483.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000726/0.3789, allocations: 393.9 kB / 483.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3789, allocations: 5.594 kB / 483.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.379, allocations: 2.812 kB / 483.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/0.3834, allocations: 0.9371 MB / 484.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3836, allocations: 67.91 kB / 484.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3856, allocations: 1.979 MB / 486.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3858, allocations: 8 kB / 486.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.3858, allocations: 16 kB / 486.6 MB, free: 4.867 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.0002049/0.386, allocations: 154.4 kB / 486.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.3861, allocations: 39.69 kB / 486.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.3869, allocations: 482.3 kB / 487.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3869, allocations: 15.98 kB / 487.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3869, allocations: 0 / 487.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007525/0.3876, allocations: 0.7134 MB / 488 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.389, allocations: 0.9386 MB / 489 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.389, allocations: 0 / 489 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3892, allocations: 51.91 kB / 489 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.391, allocations: 316.3 kB / 489.3 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3911, allocations: 11.98 kB / 489.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/0.3916, allocations: 0.6421 MB / 490 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3916, allocations: 11.47 kB / 490 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3927, allocations: 0.7104 MB / 490.7 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3928, allocations: 114.7 kB / 490.8 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.3928, allocations: 4 kB / 490.8 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.393, allocations: 8 kB / 490.8 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.393, allocations: 20.05 kB / 490.8 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3931, allocations: 11.98 kB / 490.8 MB, free: 416 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.3933, allocations: 186 kB / 491 MB, free: 232 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 491 MB, free: 232 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000727/0.394, allocations: 183.7 kB / 491.2 MB, free: 48 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.0006382/0.3946, allocations: 275.4 kB / 491.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008584/0.3955, allocations: 454.8 kB / 491.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3955, allocations: 3.938 kB / 491.9 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.396, allocations: 221.2 kB / 492.1 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.397, allocations: 174.3 kB / 492.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3984, allocations: 0.8289 MB / 493.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3989, allocations: 0.776 MB / 493.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.3989, allocations: 39.42 kB / 494 MB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3989, allocations: 0 / 494 MB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.01294/0.4119, allocations: 8.446 MB / 0.4906 GB, free: 4.805 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.06959404493682]