Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.009569/0.009569, allocations: 105 kB / 21.98 MB, free: 5.223 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.00163/0.00163, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 259 MB, free: 8.281 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.77 kB / 379.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2686, allocations: 53.36 MB / 433.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04357/0.3122, allocations: 37.98 MB / 471.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.3186, allocations: 4.623 MB / 475.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.319, allocations: 7.938 kB / 475.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009766/0.32, allocations: 302.1 kB / 476.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3211, allocations: 493.3 kB / 476.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.3261, allocations: 1.651 MB / 478.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.3281, allocations: 1.296 MB / 479.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.3283, allocations: 122.9 kB / 479.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.3292, allocations: 490.4 kB / 480.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.3299, allocations: 422.4 kB / 480.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.3299, allocations: 44 kB / 480.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.3319, allocations: 0.7688 MB / 481.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3321, allocations: 139.5 kB / 481.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.3324, allocations: 279 kB / 481.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.3341, allocations: 1.055 MB / 482.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3341, allocations: 0 / 482.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3341, allocations: 3.938 kB / 482.8 MB, free: 5.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3341, allocations: 0 / 482.8 MB, free: 5.211 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.001318/0.3354, allocations: 0.7137 MB / 483.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3355, allocations: 16.03 kB / 483.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.3361, allocations: 80.62 kB / 483.6 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.3367, allocations: 277.8 kB / 483.9 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3367, allocations: 29.38 kB / 483.9 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.3368, allocations: 44.36 kB / 484 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.3376, allocations: 475.6 kB / 484.4 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3376, allocations: 4 kB / 484.4 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.3376, allocations: 20 kB / 484.4 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3377, allocations: 8 kB / 484.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.3382, allocations: 307.6 kB / 484.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.3517, allocations: 5.491 MB / 490.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.3522, allocations: 267.1 kB / 490.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.3525, allocations: 136.8 kB / 490.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3628, allocations: 2.668 MB / 493.3 MB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.3629, allocations: 35.16 kB / 493.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3629, allocations: 0 / 493.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01227/0.3751, allocations: 2.319 MB / 495.7 MB, free: 7.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3752, allocations: 67.33 kB / 495.7 MB, free: 7.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.3756, allocations: 304.5 kB / 496 MB, free: 7.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.3756, allocations: 33.7 kB / 496.1 MB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.3758, allocations: 228.5 kB / 496.3 MB, free: 7.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.376, allocations: 166.6 kB / 496.4 MB, free: 7.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3761, allocations: 98.28 kB / 496.5 MB, free: 6.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3763, allocations: 354.8 kB / 496.9 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.3766, allocations: 149.2 kB / 497 MB, free: 6.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.377, allocations: 276.5 kB / 497.3 MB, free: 6.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.3777, allocations: 476.3 kB / 497.8 MB, free: 5.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3777, allocations: 0 / 497.8 MB, free: 5.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001205/0.3789, allocations: 0.5922 MB / 498.4 MB, free: 5.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.379, allocations: 7.938 kB / 498.4 MB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.379, allocations: 4 kB / 498.4 MB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008278/0.3873, allocations: 1.856 MB / 0.4885 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.3877, allocations: 107.8 kB / 0.4886 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.3902, allocations: 2.458 MB / 0.491 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3905, allocations: 12 kB / 0.491 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3906, allocations: 20 kB / 0.491 GB, free: 448 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.0002911/0.3908, allocations: 181.6 kB / 0.4912 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.3909, allocations: 39.77 kB / 0.4912 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3923, allocations: 0.8725 MB / 0.4921 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.3923, allocations: 7.984 kB / 0.4921 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3923, allocations: 7.938 kB / 0.4921 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.3935, allocations: 0.9708 MB / 0.4931 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.3958, allocations: 1.483 MB / 0.4945 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3958, allocations: 0 / 0.4945 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.3961, allocations: 79.89 kB / 0.4946 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.3995, allocations: 0.6219 MB / 0.4952 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.3996, allocations: 23.88 kB / 0.4952 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.4008, allocations: 1.296 MB / 0.4965 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4008, allocations: 0 / 0.4965 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4027, allocations: 1.254 MB / 0.4977 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4028, allocations: 43.69 kB / 0.4977 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.4028, allocations: 12 kB / 0.4978 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.4031, allocations: 15.94 kB / 0.4978 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.4031, allocations: 35.94 kB / 0.4978 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.4032, allocations: 12 kB / 0.4978 GB, free: 9.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.4034, allocations: 215.1 kB / 0.498 GB, free: 9.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 0.498 GB, free: 9.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008124/0.4042, allocations: 231.7 kB / 0.4982 GB, free: 8.809 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.0006341/0.4049, allocations: 270.7 kB / 0.4985 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4062, allocations: 0.6834 MB / 0.4992 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4062, allocations: 4 kB / 0.4992 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.4072, allocations: 424.3 kB / 0.4996 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4083, allocations: 245 kB / 0.4998 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.4105, allocations: 1.298 MB / 0.5011 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.411, allocations: 0.8323 MB / 0.5019 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4111, allocations: 43.44 kB / 0.5019 GB, free: 4.949 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4111, allocations: 0 / 0.5019 GB, free: 4.949 MB / 414.1 MB Notification: Performance of Templates: time 0.01877/0.4299, allocations: 13.03 MB / 0.5147 GB, free: 7.934 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 10.203317224048078]