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.0008009/0.0008009, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003964/0.003964, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8247/0.8247, allocations: 177 MB / 204.9 MB, free: 5.715 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.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 1.143e-06/1.143e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.598e-05, allocations: 3.266 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01494/0.01496, allocations: 24.45 MB / 350.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.01763, allocations: 3.762 MB / 354 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.01776, allocations: 7.938 kB / 354 MB, free: 3.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.01821, allocations: 198.6 kB / 354.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.01862, allocations: 357.8 kB / 354.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.02089, allocations: 1.492 MB / 356.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.02144, allocations: 0.906 MB / 357 MB, free: 60 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.0216, allocations: 68.95 kB / 357 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.02518, allocations: 4.279 MB / 361.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.02541, allocations: 251.2 kB / 361.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.02544, allocations: 28 kB / 361.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.0262, allocations: 0.71 MB / 362.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.02629, allocations: 95.64 kB / 362.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.02639, allocations: 147.7 kB / 362.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.02718, allocations: 0.9586 MB / 363.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.02719, allocations: 0 / 363.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02719, allocations: 0 / 363.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.02719, allocations: 0 / 363.5 MB, free: 9.523 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006303/0.02782, allocations: 0.5868 MB / 364.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.02786, allocations: 11.98 kB / 364.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.02811, allocations: 56.69 kB / 364.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.02841, allocations: 229.2 kB / 364.4 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.02843, allocations: 17.03 kB / 364.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.02846, allocations: 32.38 kB / 364.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.02883, allocations: 490.4 kB / 364.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.02884, allocations: 8.125 kB / 364.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.02887, allocations: 28.05 kB / 364.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.02888, allocations: 4 kB / 364.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.02909, allocations: 209.8 kB / 365.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.03463, allocations: 4.075 MB / 369.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.03484, allocations: 174.6 kB / 369.4 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.03492, allocations: 80.83 kB / 369.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004328/0.03925, allocations: 2.68 MB / 372.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.03928, allocations: 38.55 kB / 372.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.03928, allocations: 0 / 372.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003155/0.04244, allocations: 1.263 MB / 373.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.04247, allocations: 55.41 kB / 373.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.04263, allocations: 236 kB / 373.7 MB, free: 15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.04265, allocations: 29.7 kB / 373.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.04286, allocations: 196.3 kB / 373.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.0429, allocations: 91.22 kB / 374 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.04297, allocations: 73.64 kB / 374.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.04304, allocations: 338.8 kB / 374.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.04314, allocations: 83.97 kB / 374.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.04328, allocations: 194.9 kB / 374.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.04353, allocations: 303 kB / 375 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.04354, allocations: 4 kB / 375 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004033/0.04394, allocations: 382.9 kB / 375.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.04395, allocations: 11.94 kB / 375.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.04396, allocations: 384 / 375.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.04578, allocations: 0.9383 MB / 376.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.04593, allocations: 71.84 kB / 376.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009367/0.04687, allocations: 1.848 MB / 378.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.04696, allocations: 16.06 kB / 378.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.04697, allocations: 15.98 kB / 378.3 MB, free: 10.2 MB / 346.7 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.0001096/0.04708, allocations: 157.7 kB / 378.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.04712, allocations: 23.86 kB / 378.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.04756, allocations: 0.4899 MB / 378.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.04757, allocations: 11.92 kB / 379 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.04757, allocations: 0 / 379 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004065/0.04798, allocations: 0.7238 MB / 379.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.0487, allocations: 0.8482 MB / 380.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.0487, allocations: 0 / 380.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.0488, allocations: 39.98 kB / 380.6 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008659/0.04966, allocations: 328.2 kB / 380.9 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.04968, allocations: 4 kB / 380.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/0.04996, allocations: 0.65 MB / 381.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.04997, allocations: 0 / 381.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.05051, allocations: 0.7294 MB / 382.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.05053, allocations: 27.78 kB / 382.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.05055, allocations: 8 kB / 382.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.05063, allocations: 8 kB / 382.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.05066, allocations: 15.91 kB / 382.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.05067, allocations: 19.92 kB / 382.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.26e-05/0.05076, allocations: 165.6 kB / 382.5 MB, free: 5.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05076, allocations: 4.125 kB / 382.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.05114, allocations: 183.7 kB / 382.7 MB, free: 5.574 MB / 346.7 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.0003915/0.05153, allocations: 290.6 kB / 383 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.052, allocations: 450.8 kB / 383.4 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.05201, allocations: 0 / 383.4 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.05227, allocations: 220.3 kB / 383.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.05271, allocations: 136.3 kB / 383.8 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.05346, allocations: 0.7491 MB / 384.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.05356, allocations: 168.3 kB / 384.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.05361, allocations: 36.48 kB / 384.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.05361, allocations: 0 / 384.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of Templates: time 0.006335/0.05994, allocations: 8.326 MB / 393 MB, free: 11.16 MB / 362.7 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.365045254118741]