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.001698/0.001698, allocations: 115.7 kB / 19.17 MB, free: 3.871 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.0014/0.0014, allocations: 205 kB / 22.12 MB, free: 0.9219 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.484/1.484, allocations: 230.5 MB / 255.4 MB, free: 14.96 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.002/0.002, allocations: 75.88 kB / 374.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 53.32 MB / 428.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2761/0.3887, allocations: 50.88 MB / 479 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3956, allocations: 5.216 MB / 484.2 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.3959, allocations: 11.44 kB / 484.2 MB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.3968, allocations: 255.9 kB / 484.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008065/0.3976, allocations: 365.3 kB / 484.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02127/0.4188, allocations: 7.154 MB / 492 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4209, allocations: 1.092 MB / 493.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.4212, allocations: 109.6 kB / 493.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00721/0.4284, allocations: 3.619 MB / 496.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008207/0.4292, allocations: 434.5 kB / 497.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.4294, allocations: 56 kB / 497.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02043/0.4498, allocations: 10.11 MB / 0.4955 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.4502, allocations: 227.4 kB / 0.4957 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.4507, allocations: 302.9 kB / 0.496 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.4653, allocations: 5.538 MB / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4653, allocations: 0 / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4653, allocations: 4 kB / 0.5014 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.4653, allocations: 0 / 0.5014 GB, free: 11.29 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.003809/0.4691, allocations: 1.402 MB / 0.5028 GB, free: 9.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4692, allocations: 8.031 kB / 0.5028 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.4696, allocations: 71.66 kB / 0.5029 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.4701, allocations: 366.1 kB / 0.5032 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.4701, allocations: 33 kB / 0.5033 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.4702, allocations: 43.98 kB / 0.5033 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4715, allocations: 0.5853 MB / 0.5039 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4715, allocations: 0 / 0.5039 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.4716, allocations: 20 kB / 0.5039 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.4716, allocations: 16 kB / 0.5039 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4731, allocations: 0.7417 MB / 0.5046 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.4976, allocations: 11.95 MB / 0.5163 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.4996, allocations: 0.5078 MB / 0.5168 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.5002, allocations: 246 kB / 0.517 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02239/0.5226, allocations: 11.88 MB / 0.5286 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.5227, allocations: 40.75 kB / 0.5287 GB, free: 10.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 3.597e-06/0.5227, allocations: 0 / 0.5287 GB, free: 10.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.008818/0.5315, allocations: 2.118 MB / 0.5307 GB, free: 8.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.5316, allocations: 59.97 kB / 0.5308 GB, free: 8.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.5322, allocations: 334.8 kB / 0.5311 GB, free: 8.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.5323, allocations: 37.7 kB / 0.5312 GB, free: 8.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.5325, allocations: 196.8 kB / 0.5313 GB, free: 8.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.5327, allocations: 202.2 kB / 0.5315 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.533, allocations: 118.2 kB / 0.5317 GB, free: 7.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5332, allocations: 346.8 kB / 0.532 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.5338, allocations: 244.9 kB / 0.5322 GB, free: 7.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.5349, allocations: 335.4 kB / 0.5325 GB, free: 6.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.5367, allocations: 0.6034 MB / 0.5331 GB, free: 6.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5367, allocations: 0 / 0.5331 GB, free: 6.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003004/0.5398, allocations: 0.7558 MB / 0.5339 GB, free: 5.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.5398, allocations: 8 kB / 0.5339 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5398, allocations: 3.938 kB / 0.5339 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/0.5406, allocations: 110.7 kB / 0.534 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.5414, allocations: 115.9 kB / 0.5341 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.5456, allocations: 3.481 MB / 0.5375 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.5461, allocations: 12 kB / 0.5375 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.5462, allocations: 37.95 kB / 0.5375 GB, free: 1.305 MB / 446.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.0004689/0.5467, allocations: 200.1 kB / 0.5377 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.5472, allocations: 43.77 kB / 0.5378 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.5491, allocations: 0.8113 MB / 0.5386 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5491, allocations: 4 kB / 0.5386 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5491, allocations: 0 / 0.5386 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/0.5504, allocations: 0.7674 MB / 0.5393 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.5527, allocations: 1.297 MB / 0.5406 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5527, allocations: 3.938 kB / 0.5406 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.5532, allocations: 99.88 kB / 0.5407 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009504/0.5542, allocations: 144.7 kB / 0.5408 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.5542, allocations: 23.92 kB / 0.5408 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005035/0.5547, allocations: 0.6406 MB / 0.5415 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.5547, allocations: 7.969 kB / 0.5415 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5566, allocations: 0.9056 MB / 0.5424 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.5567, allocations: 116.8 kB / 0.5425 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.5568, allocations: 15.98 kB / 0.5425 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.5572, allocations: 25.16 kB / 0.5425 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.5573, allocations: 36.33 kB / 0.5425 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.5574, allocations: 27.98 kB / 0.5426 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003351/0.5577, allocations: 253.9 kB / 0.5428 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5577, allocations: 0 / 0.5428 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004035/0.5617, allocations: 1.341 MB / 0.5441 GB, free: 10.3 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.006123/0.5679, allocations: 1.7 MB / 0.5458 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.5697, allocations: 0.7805 MB / 0.5465 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5697, allocations: 0 / 0.5465 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.5703, allocations: 279.2 kB / 0.5468 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.5718, allocations: 283.4 kB / 0.5471 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.574, allocations: 1.135 MB / 0.5482 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.5745, allocations: 0.8365 MB / 0.549 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.5747, allocations: 67.41 kB / 0.5491 GB, free: 5.137 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5747, allocations: 0 / 0.5491 GB, free: 5.137 MB / 462.1 MB Notification: Performance of Templates: time 0.05489/0.6296, allocations: 34.18 MB / 0.5824 GB, free: 2.965 MB / 494.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.83762716606725]