Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3371/0.3371, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.867e-05, allocations: 5.547 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3911/0.3911, allocations: 156.3 MB / 0.5191 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.3944, allocations: 1.633 MB / 0.5207 GB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.395, allocations: 20.53 kB / 0.5208 GB, free: 11.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008157/0.3958, allocations: 204.2 kB / 0.5209 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.3987, allocations: 0.8211 MB / 0.5217 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.4005, allocations: 0.6852 MB / 0.5224 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.4022, allocations: 1.176 MB / 0.5236 GB, free: 9.852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.4029, allocations: 297.9 kB / 0.5239 GB, free: 9.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.4042, allocations: 0.6235 MB / 0.5245 GB, free: 9.406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.4047, allocations: 349.1 kB / 0.5248 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.4047, allocations: 42.41 kB / 0.5248 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.4057, allocations: 0.492 MB / 0.5253 GB, free: 9.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.4059, allocations: 173.7 kB / 0.5255 GB, free: 9.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.4061, allocations: 194.4 kB / 0.5257 GB, free: 8.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.4074, allocations: 1.032 MB / 0.5267 GB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4074, allocations: 0 / 0.5267 GB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4074, allocations: 3.938 kB / 0.5267 GB, free: 8.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4074, allocations: 0 / 0.5267 GB, free: 8.629 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001432/0.4089, allocations: 0.9511 MB / 0.5276 GB, free: 7.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4089, allocations: 15.8 kB / 0.5276 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.4093, allocations: 125.5 kB / 0.5277 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.4099, allocations: 362.9 kB / 0.5281 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.41, allocations: 90.89 kB / 0.5282 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.41, allocations: 41.66 kB / 0.5282 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.4108, allocations: 0.7311 MB / 0.5289 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.4108, allocations: 10.83 kB / 0.5289 GB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.4109, allocations: 14.78 kB / 0.529 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.4109, allocations: 15.28 kB / 0.529 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.4115, allocations: 327.4 kB / 0.5293 GB, free: 6.844 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.414, allocations: 2.475 MB / 0.5317 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4145, allocations: 303.9 kB / 0.532 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.4148, allocations: 141.3 kB / 0.5321 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.4149, allocations: 8.531 kB / 0.5321 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.4153, allocations: 418.3 kB / 0.5325 GB, free: 4.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.4153, allocations: 0 / 0.5325 GB, free: 4.344 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.008625/0.4239, allocations: 2.465 MB / 0.5349 GB, free: 3.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.424, allocations: 134.4 kB / 0.5351 GB, free: 3.176 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.4243, allocations: 475.1 kB / 0.5355 GB, free: 2.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.4244, allocations: 36.61 kB / 0.5355 GB, free: 2.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4245, allocations: 320.8 kB / 0.5359 GB, free: 2.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4246, allocations: 176.3 kB / 0.536 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.4248, allocations: 137.2 kB / 0.5362 GB, free: 2.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4249, allocations: 0.5605 MB / 0.5367 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.4253, allocations: 203.8 kB / 0.5369 GB, free: 1.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4258, allocations: 0.5367 MB / 0.5374 GB, free: 1.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.4267, allocations: 0.6301 MB / 0.538 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4267, allocations: 5.781 kB / 0.538 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001399/0.4281, allocations: 0.7524 MB / 0.5388 GB, free: 500 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.4281, allocations: 44.98 kB / 0.5388 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4281, allocations: 3.125 kB / 0.5388 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.4286, allocations: 107.8 kB / 0.5389 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.429, allocations: 125.8 kB / 0.539 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006907/0.4297, allocations: 0.9212 MB / 0.5399 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.4301, allocations: 32.03 kB / 0.54 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.4302, allocations: 41.38 kB / 0.54 GB, free: 15.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.4305, allocations: 232.8 kB / 0.5402 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4306, allocations: 68.48 kB / 0.5403 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4323, allocations: 0.6366 MB / 0.5409 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4323, allocations: 6.281 kB / 0.5409 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4323, allocations: 4 kB / 0.5409 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4323, allocations: 5.797 kB / 0.5409 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.4347, allocations: 1.19 MB / 0.5421 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4347, allocations: 4.031 kB / 0.5421 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.4351, allocations: 88.11 kB / 0.5422 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006695/0.4358, allocations: 113.6 kB / 0.5423 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.4358, allocations: 18.34 kB / 0.5423 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.4381, allocations: 2.183 MB / 0.5444 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4381, allocations: 2.938 kB / 0.5444 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.44, allocations: 0.9368 MB / 0.5454 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.4403, allocations: 78.25 kB / 0.5454 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.4403, allocations: 16.75 kB / 0.5455 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.4407, allocations: 28.48 kB / 0.5455 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.4409, allocations: 62.84 kB / 0.5455 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.4409, allocations: 26.89 kB / 0.5456 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.4413, allocations: 301 kB / 0.5459 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4413, allocations: 0 / 0.5459 GB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007916/0.4421, allocations: 238.7 kB / 0.5461 GB, free: 11.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007164/0.4428, allocations: 307.1 kB / 0.5464 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.4441, allocations: 0.5726 MB / 0.5469 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4441, allocations: 2.781 kB / 0.5469 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.4449, allocations: 444.6 kB / 0.5474 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.446, allocations: 214.2 kB / 0.5476 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.448, allocations: 1.043 MB / 0.5486 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4482, allocations: 253.7 kB / 0.5488 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.4487, allocations: 131.1 kB / 0.549 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.4489, allocations: 63.64 kB / 0.549 GB, free: 9.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4489, allocations: 0 / 0.549 GB, free: 9.707 MB / 426.7 MB Notification: Performance of Templates: time 0.02532/0.4742, allocations: 12.79 MB / 0.5615 GB, free: 13.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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: 5.942859856993891]