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.0008172/0.0008172, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003162/0.003162, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8377/0.8377, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.122e-06/1.122e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.652e-05, allocations: 3.125 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02015/0.02017, allocations: 33.84 MB / 359.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.02347, allocations: 4.163 MB / 363.8 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.02365, allocations: 11.94 kB / 363.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.02424, allocations: 282.2 kB / 364.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.02481, allocations: 0.5006 MB / 364.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.02756, allocations: 1.673 MB / 366.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.02836, allocations: 1.287 MB / 367.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.02855, allocations: 115 kB / 367.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.02904, allocations: 0.6429 MB / 368.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.02937, allocations: 370.9 kB / 368.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.02942, allocations: 52 kB / 368.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009395/0.03036, allocations: 0.7296 MB / 369.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.03047, allocations: 139.5 kB / 369.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.03061, allocations: 215.6 kB / 369.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.03156, allocations: 1.169 MB / 371 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.03156, allocations: 0 / 371 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.03156, allocations: 0 / 371 MB, free: 2.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.03157, allocations: 0 / 371 MB, free: 2.035 MB / 330.7 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.0007268/0.0323, allocations: 0.7113 MB / 371.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.03233, allocations: 15.98 kB / 371.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.03264, allocations: 80.62 kB / 371.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.03301, allocations: 280.9 kB / 372 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.03303, allocations: 29.38 kB / 372.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.03307, allocations: 36.38 kB / 372.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.03357, allocations: 0.6658 MB / 372.8 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.03358, allocations: 4.125 kB / 372.8 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.03361, allocations: 24.12 kB / 372.8 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.03362, allocations: 12 kB / 372.8 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.03393, allocations: 299.8 kB / 373.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.03967, allocations: 4.561 MB / 377.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.03999, allocations: 254.4 kB / 377.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.04013, allocations: 141.3 kB / 378 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00422/0.04435, allocations: 2.676 MB / 380.7 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.04437, allocations: 42.5 kB / 380.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.04437, allocations: 0 / 380.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005515/0.04989, allocations: 2.315 MB / 383.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.04992, allocations: 63.34 kB / 383.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.05011, allocations: 273.8 kB / 383.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.05013, allocations: 33.7 kB / 383.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.05023, allocations: 232.4 kB / 383.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.0503, allocations: 162.6 kB / 383.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.05039, allocations: 102.3 kB / 383.9 MB, free: 4.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.05048, allocations: 346.8 kB / 384.3 MB, free: 4.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.05065, allocations: 149.2 kB / 384.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.05087, allocations: 280.7 kB / 384.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.05128, allocations: 481.2 kB / 385.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.05128, allocations: 0 / 385.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000642/0.05193, allocations: 0.5819 MB / 385.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.05194, allocations: 11.92 kB / 385.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.05195, allocations: 4 kB / 385.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.05544, allocations: 1.843 MB / 387.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.05565, allocations: 107.8 kB / 387.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.05688, allocations: 2.447 MB / 390.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.05699, allocations: 16 kB / 390.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.05701, allocations: 20 kB / 390.2 MB, free: 14.2 MB / 362.7 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.0001443/0.05716, allocations: 181.8 kB / 390.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.0572, allocations: 39.77 kB / 390.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.05796, allocations: 0.8611 MB / 391.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.05797, allocations: 15.98 kB / 391.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.05798, allocations: 0 / 391.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006461/0.05862, allocations: 0.9673 MB / 392.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.05978, allocations: 1.366 MB / 393.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.05978, allocations: 0 / 393.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.05993, allocations: 75.94 kB / 393.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.06136, allocations: 0.6218 MB / 394.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.06138, allocations: 8 kB / 394.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005657/0.06194, allocations: 1.304 MB / 395.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.06194, allocations: 3.938 kB / 395.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.06287, allocations: 1.247 MB / 396.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.06292, allocations: 39.73 kB / 396.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.06295, allocations: 8 kB / 396.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.06305, allocations: 12 kB / 396.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.06309, allocations: 27.94 kB / 397 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.06311, allocations: 19.98 kB / 397 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.06322, allocations: 193.3 kB / 397.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06322, allocations: 0 / 397.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004292/0.06365, allocations: 231.7 kB / 397.4 MB, free: 6.762 MB / 362.7 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.000407/0.06406, allocations: 291 kB / 397.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.06477, allocations: 0.684 MB / 398.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.06477, allocations: 0 / 398.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.06524, allocations: 432.3 kB / 398.8 MB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.06582, allocations: 211.4 kB / 399 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.06693, allocations: 1.152 MB / 400.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.06707, allocations: 237.3 kB / 400.4 MB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.06713, allocations: 40.48 kB / 400.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.06713, allocations: 0 / 400.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of Templates: time 0.008997/0.07613, allocations: 13.01 MB / 413.4 MB, free: 6.66 MB / 378.7 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: 5.7310539381578565]