Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001548/0.001548, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001785/0.001785, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.462/1.462, allocations: 230.4 MB / 258 MB, free: 8.164 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") [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.002066/0.002066, allocations: 63.89 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2383, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06014/0.2985, allocations: 51.16 MB / 483.2 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006692/0.3051, allocations: 5.246 MB / 488.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.3053, allocations: 4 kB / 488.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.3061, allocations: 250.6 kB / 488.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.3068, allocations: 373.9 kB / 489.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.3241, allocations: 7.149 MB / 496.2 MB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3256, allocations: 1.103 MB / 497.3 MB, free: 5.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3258, allocations: 101.5 kB / 497.4 MB, free: 5.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.3327, allocations: 3.632 MB / 0.4893 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.3334, allocations: 426.6 kB / 0.4897 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.153e-05/0.3335, allocations: 60 kB / 0.4898 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01865/0.3521, allocations: 10.11 MB / 0.4996 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.3525, allocations: 235.4 kB / 0.4999 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.353, allocations: 306.8 kB / 0.5002 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.366, allocations: 5.526 MB / 0.5056 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.366, allocations: 4 kB / 0.5056 GB, free: 1.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.366, allocations: 4 kB / 0.5056 GB, free: 1.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.366, allocations: 0 / 0.5056 GB, free: 1.512 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003613/0.3696, allocations: 1.402 MB / 0.5069 GB, free: 56 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3697, allocations: 8.031 kB / 0.5069 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.37, allocations: 67.7 kB / 0.507 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.3706, allocations: 367.7 kB / 0.5074 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3707, allocations: 29 kB / 0.5074 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.3707, allocations: 44 kB / 0.5074 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3721, allocations: 0.5842 MB / 0.508 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3721, allocations: 0 / 0.508 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/0.3722, allocations: 20 kB / 0.508 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3722, allocations: 16 kB / 0.508 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3736, allocations: 0.7417 MB / 0.5088 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/0.3918, allocations: 11.96 MB / 0.5204 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3932, allocations: 0.5161 MB / 0.5209 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.3936, allocations: 242 kB / 0.5212 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.4101, allocations: 11.88 MB / 0.5328 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.4102, allocations: 43 kB / 0.5328 GB, free: 1.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 5.601e-06/0.4102, allocations: 3.984 kB / 0.5328 GB, free: 1.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006397/0.4166, allocations: 2.121 MB / 0.5349 GB, free: 14.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4167, allocations: 63.97 kB / 0.5349 GB, free: 14.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.4171, allocations: 322.9 kB / 0.5353 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.4172, allocations: 37.7 kB / 0.5353 GB, free: 14.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4173, allocations: 200.8 kB / 0.5355 GB, free: 14.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4175, allocations: 206.2 kB / 0.5357 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.4177, allocations: 114.2 kB / 0.5358 GB, free: 13.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4179, allocations: 346.8 kB / 0.5361 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.4183, allocations: 237 kB / 0.5363 GB, free: 13.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.419, allocations: 343.3 kB / 0.5367 GB, free: 12.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.4202, allocations: 0.6034 MB / 0.5373 GB, free: 12.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4202, allocations: 0 / 0.5373 GB, free: 12.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001933/0.4222, allocations: 0.752 MB / 0.538 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4222, allocations: 7.938 kB / 0.538 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4222, allocations: 4 kB / 0.538 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.4227, allocations: 102.8 kB / 0.5381 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.4233, allocations: 131.8 kB / 0.5382 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.4263, allocations: 3.468 MB / 0.5416 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.4267, allocations: 16 kB / 0.5416 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.4267, allocations: 31.98 kB / 0.5417 GB, free: 7.504 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.427, allocations: 193.8 kB / 0.5419 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.4274, allocations: 47.77 kB / 0.5419 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.429, allocations: 0.8112 MB / 0.5427 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4291, allocations: 8 kB / 0.5427 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4291, allocations: 3.984 kB / 0.5427 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.4303, allocations: 0.7635 MB / 0.5434 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4326, allocations: 1.305 MB / 0.5447 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4326, allocations: 3.938 kB / 0.5447 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.433, allocations: 99.88 kB / 0.5448 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/0.434, allocations: 152.7 kB / 0.545 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.434, allocations: 16 kB / 0.545 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005071/0.4345, allocations: 0.6523 MB / 0.5456 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4345, allocations: 0 / 0.5456 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4364, allocations: 0.9055 MB / 0.5465 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.4366, allocations: 113 kB / 0.5466 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.4367, allocations: 12.09 kB / 0.5466 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.4371, allocations: 27.98 kB / 0.5466 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.4371, allocations: 32.39 kB / 0.5467 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.4372, allocations: 27.97 kB / 0.5467 GB, free: 2.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.4375, allocations: 253.9 kB / 0.5469 GB, free: 1.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4375, allocations: 0 / 0.5469 GB, free: 1.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004055/0.4416, allocations: 1.341 MB / 0.5483 GB, free: 0.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1887/0.6303, allocations: 1.705 MB / 0.5499 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6321, allocations: 0.7812 MB / 0.5507 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6321, allocations: 1.031 kB / 0.5507 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.6326, allocations: 277.2 kB / 0.5509 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.6341, allocations: 284.2 kB / 0.5512 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.6359, allocations: 1.113 MB / 0.5523 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.6362, allocations: 0.8369 MB / 0.5531 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004757/0.6367, allocations: 137 kB / 0.5533 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.6368, allocations: 58.3 kB / 0.5533 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6368, allocations: 0 / 0.5533 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04812/0.6849, allocations: 45.49 MB / 0.5977 GB, free: 82.95 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 17.57708923239261]