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.001804/0.001804, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002079/0.002079, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001994/0.001994, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2105, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06005/0.2705, allocations: 51.16 MB / 483.2 MB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.2772, allocations: 5.238 MB / 488.5 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.2774, allocations: 4 kB / 488.5 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.2781, allocations: 258.5 kB / 488.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006935/0.2788, allocations: 370 kB / 489.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01596/0.2948, allocations: 7.155 MB / 496.2 MB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.2961, allocations: 1.103 MB / 497.3 MB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.2963, allocations: 97.55 kB / 497.4 MB, free: 5.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006138/0.3024, allocations: 3.629 MB / 0.4893 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.3031, allocations: 430.5 kB / 0.4897 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3032, allocations: 56 kB / 0.4898 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/0.3199, allocations: 10.11 MB / 0.4997 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3202, allocations: 235.3 kB / 0.4999 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.3206, allocations: 302.9 kB / 0.5002 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008277/0.3288, allocations: 5.534 MB / 0.5056 GB, free: 1.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3289, allocations: 4 kB / 0.5056 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3289, allocations: 0 / 0.5056 GB, free: 1.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3289, allocations: 4 kB / 0.5056 GB, free: 1.488 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.002795/0.3317, allocations: 1.402 MB / 0.5069 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3317, allocations: 8.031 kB / 0.507 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.332, allocations: 67.66 kB / 0.507 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.3326, allocations: 363.7 kB / 0.5074 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.3326, allocations: 33 kB / 0.5074 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.3327, allocations: 47.98 kB / 0.5074 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3341, allocations: 0.5843 MB / 0.508 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3341, allocations: 0 / 0.508 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.3341, allocations: 20 kB / 0.508 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3341, allocations: 8 kB / 0.508 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3357, allocations: 0.7456 MB / 0.5088 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.3537, allocations: 11.96 MB / 0.5205 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.355, allocations: 0.5044 MB / 0.5209 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.3554, allocations: 250 kB / 0.5212 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/0.3715, allocations: 11.88 MB / 0.5328 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3715, allocations: 43 kB / 0.5328 GB, free: 1.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.3715, allocations: 0 / 0.5328 GB, free: 1.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.00587/0.3774, allocations: 2.117 MB / 0.5349 GB, free: 14.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.3774, allocations: 59.97 kB / 0.5349 GB, free: 14.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.3778, allocations: 322.9 kB / 0.5353 GB, free: 14.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.3779, allocations: 37.7 kB / 0.5353 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.378, allocations: 196.8 kB / 0.5355 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.3782, allocations: 206.2 kB / 0.5357 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3784, allocations: 114.2 kB / 0.5358 GB, free: 13.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3786, allocations: 354.8 kB / 0.5361 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.379, allocations: 237 kB / 0.5364 GB, free: 13.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.3797, allocations: 343.3 kB / 0.5367 GB, free: 12.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.381, allocations: 0.5995 MB / 0.5373 GB, free: 12.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.381, allocations: 4 kB / 0.5373 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001935/0.3829, allocations: 0.7402 MB / 0.538 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3829, allocations: 11.98 kB / 0.538 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3829, allocations: 8.219 kB / 0.538 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.3834, allocations: 106.5 kB / 0.5381 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.3839, allocations: 123.8 kB / 0.5382 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3868, allocations: 3.48 MB / 0.5416 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.3871, allocations: 12.19 kB / 0.5416 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.3872, allocations: 39.92 kB / 0.5417 GB, free: 7.48 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.0002509/0.3874, allocations: 193.6 kB / 0.5419 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.3877, allocations: 43.77 kB / 0.5419 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.3894, allocations: 0.8151 MB / 0.5427 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/0.3908, allocations: 0.7674 MB / 0.5434 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3908, allocations: 3.938 kB / 0.5435 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3909, allocations: 112.9 kB / 0.5436 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.391, allocations: 15.94 kB / 0.5436 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.3913, allocations: 19.98 kB / 0.5436 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.3914, allocations: 36.38 kB / 0.5436 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001488/0.3929, allocations: 0.641 MB / 0.5443 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001757/0.3946, allocations: 0.9277 MB / 0.5452 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004549/0.3951, allocations: 219.4 kB / 0.5454 GB, free: 3.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002955/0.3954, allocations: 261.8 kB / 0.5456 GB, free: 3.285 MB / 462.1 MB Notification: Performance of Backend: time 1.7e-07/0.3954, allocations: 0 / 0.5456 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007204/0.4026, allocations: 2.467 MB / 0.548 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of SimCode: time 0.159/0.5616, allocations: 1.477 MB / 0.5495 GB, free: 121.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05154/0.6131, allocations: 48.68 MB / 0.597 GB, free: 82.88 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 -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: 7.504774481989443]