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.001618/0.001618, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001763/0.001763, allocations: 211.9 kB / 24.5 MB, free: 4.148 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.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.002083/0.002083, allocations: 67.89 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2641, allocations: 53.41 MB / 432.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04483/0.309, allocations: 37.98 MB / 470.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.3156, allocations: 4.627 MB / 475.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.3162, allocations: 7.938 kB / 475.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3173, allocations: 298.1 kB / 475.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.3186, allocations: 489.3 kB / 475.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005332/0.3239, allocations: 1.661 MB / 477.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3259, allocations: 1.296 MB / 478.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3263, allocations: 122.9 kB / 478.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3273, allocations: 486.5 kB / 479.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.3281, allocations: 426.3 kB / 479.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3282, allocations: 48 kB / 479.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.3302, allocations: 0.7571 MB / 480.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3304, allocations: 143.5 kB / 480.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.3309, allocations: 274.9 kB / 481 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.333, allocations: 1.059 MB / 482.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.333, allocations: 0 / 482.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.333, allocations: 0 / 482.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.333, allocations: 0 / 482.1 MB, free: 4.977 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.001534/0.3346, allocations: 0.7114 MB / 482.8 MB, free: 4.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3346, allocations: 12.03 kB / 482.8 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/0.3353, allocations: 80.62 kB / 482.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.3359, allocations: 285.7 kB / 483.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.336, allocations: 29.38 kB / 483.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.336, allocations: 40.38 kB / 483.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.3368, allocations: 467.7 kB / 483.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3368, allocations: 4 kB / 483.7 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.3369, allocations: 23.94 kB / 483.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3369, allocations: 15.94 kB / 483.7 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.3374, allocations: 303.7 kB / 484 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.3518, allocations: 5.491 MB / 489.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.3524, allocations: 258.5 kB / 489.8 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3526, allocations: 143.5 kB / 489.9 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.3632, allocations: 2.672 MB / 492.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.3633, allocations: 39.09 kB / 492.6 MB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.3633, allocations: 0 / 492.6 MB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01238/0.3757, allocations: 2.31 MB / 494.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3757, allocations: 59.41 kB / 495 MB, free: 7.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3761, allocations: 304.5 kB / 495.3 MB, free: 7.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3762, allocations: 37.7 kB / 495.3 MB, free: 7.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3764, allocations: 232.5 kB / 495.5 MB, free: 7.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.3765, allocations: 162.6 kB / 495.7 MB, free: 6.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.3767, allocations: 106.2 kB / 495.8 MB, free: 6.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3768, allocations: 346.8 kB / 496.1 MB, free: 6.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.3771, allocations: 153.2 kB / 496.3 MB, free: 6.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.3775, allocations: 272.7 kB / 496.6 MB, free: 5.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.3782, allocations: 476.2 kB / 497 MB, free: 5.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3782, allocations: 0 / 497 MB, free: 5.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001171/0.3794, allocations: 0.5918 MB / 497.6 MB, free: 4.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3794, allocations: 12.41 kB / 497.6 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3794, allocations: 8 kB / 497.6 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008157/0.3876, allocations: 1.84 MB / 499.5 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.3881, allocations: 103.9 kB / 499.6 MB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.3904, allocations: 2.466 MB / 0.4903 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.3908, allocations: 15.98 kB / 0.4903 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.3908, allocations: 24 kB / 0.4903 GB, free: 208 kB / 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.000285/0.3911, allocations: 178.2 kB / 0.4905 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3913, allocations: 35.81 kB / 0.4905 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3926, allocations: 0.8802 MB / 0.4914 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.3927, allocations: 20.03 kB / 0.4914 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3927, allocations: 0 / 0.4914 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.3938, allocations: 0.9747 MB / 0.4924 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.3961, allocations: 1.471 MB / 0.4938 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.3961, allocations: 0 / 0.4938 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.3964, allocations: 83.92 kB / 0.4939 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/0.3999, allocations: 0.6218 MB / 0.4945 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.4, allocations: 15.94 kB / 0.4945 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4012, allocations: 1.296 MB / 0.4958 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4012, allocations: 0 / 0.4958 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4029, allocations: 1.254 MB / 0.497 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4031, allocations: 47.69 kB / 0.497 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.4032, allocations: 15.94 kB / 0.497 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4034, allocations: 11.94 kB / 0.4971 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.4035, allocations: 27.94 kB / 0.4971 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.4035, allocations: 16 kB / 0.4971 GB, free: 9.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.4038, allocations: 211.1 kB / 0.4973 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4038, allocations: 4 kB / 0.4973 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008221/0.4046, allocations: 231.7 kB / 0.4975 GB, free: 8.582 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.000705/0.4053, allocations: 282.8 kB / 0.4978 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.4067, allocations: 0.6796 MB / 0.4985 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4067, allocations: 0 / 0.4985 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.4077, allocations: 424.4 kB / 0.4989 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4089, allocations: 239.1 kB / 0.4991 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4111, allocations: 1.289 MB / 0.5003 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4116, allocations: 0.8362 MB / 0.5012 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4117, allocations: 43.44 kB / 0.5012 GB, free: 4.727 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4117, allocations: 3.938 kB / 0.5012 GB, free: 4.723 MB / 414.1 MB Notification: Performance of Templates: time 0.01958/0.4313, allocations: 13.03 MB / 0.5139 GB, free: 7.688 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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: 9.924867209978402]