Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.000976/0.000976, allocations: 87.67 kB / 21.2 MB, free: 3.367 MB / 18.57 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.0009394/0.0009394, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2893/0.2893, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.205e-05/4.461e-05, allocations: 3.156 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3369/0.3369, allocations: 147.8 MB / 0.5142 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.3397, allocations: 1.637 MB / 0.5158 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.3401, allocations: 20.31 kB / 0.5158 GB, free: 14.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.3406, allocations: 162.7 kB / 0.516 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3424, allocations: 0.7979 MB / 0.5167 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3437, allocations: 0.6398 MB / 0.5174 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.3449, allocations: 1.193 MB / 0.5185 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.3455, allocations: 294.8 kB / 0.5188 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.3463, allocations: 0.615 MB / 0.5194 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.3468, allocations: 346.6 kB / 0.5197 GB, free: 12.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.3469, allocations: 46.44 kB / 0.5198 GB, free: 12.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008632/0.3478, allocations: 491.7 kB / 0.5203 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3479, allocations: 168.8 kB / 0.5204 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3481, allocations: 195.6 kB / 0.5206 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3491, allocations: 0.8313 MB / 0.5214 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3491, allocations: 0 / 0.5214 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3491, allocations: 0 / 0.5214 GB, free: 11.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.3491, allocations: 2.188 kB / 0.5214 GB, free: 11.8 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.001261/0.3504, allocations: 0.9302 MB / 0.5223 GB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3504, allocations: 8.438 kB / 0.5223 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.3508, allocations: 125.9 kB / 0.5225 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.3512, allocations: 358.9 kB / 0.5228 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.3513, allocations: 82.03 kB / 0.5229 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.3514, allocations: 48.98 kB / 0.5229 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.3519, allocations: 0.6543 MB / 0.5236 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.352, allocations: 2.531 kB / 0.5236 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.352, allocations: 18.98 kB / 0.5236 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.352, allocations: 21.56 kB / 0.5236 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.3525, allocations: 197.8 kB / 0.5238 GB, free: 10.13 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.00197/0.3544, allocations: 2.318 MB / 0.5261 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.3548, allocations: 200.9 kB / 0.5262 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3549, allocations: 83.59 kB / 0.5263 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.355, allocations: 7.938 kB / 0.5263 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.3553, allocations: 359 kB / 0.5267 GB, free: 7.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.3553, allocations: 3.938 kB / 0.5267 GB, free: 7.777 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.00511/0.3604, allocations: 1.871 MB / 0.5285 GB, free: 6.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3604, allocations: 133.7 kB / 0.5286 GB, free: 6.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.3608, allocations: 406.4 kB / 0.529 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.3608, allocations: 39.33 kB / 0.5291 GB, free: 6.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.361, allocations: 307.8 kB / 0.5294 GB, free: 6.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3611, allocations: 166.5 kB / 0.5295 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3613, allocations: 133.6 kB / 0.5296 GB, free: 6.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3614, allocations: 0.5253 MB / 0.5302 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3616, allocations: 107 kB / 0.5303 GB, free: 5.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.3619, allocations: 452.2 kB / 0.5307 GB, free: 5.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.3624, allocations: 453 kB / 0.5311 GB, free: 4.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3624, allocations: 3.062 kB / 0.5311 GB, free: 4.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009344/0.3633, allocations: 0.5798 MB / 0.5317 GB, free: 4.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.3633, allocations: 34.55 kB / 0.5317 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3634, allocations: 5.531 kB / 0.5317 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.3636, allocations: 77.78 kB / 0.5318 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.364, allocations: 126.2 kB / 0.5319 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/0.3644, allocations: 0.8569 MB / 0.5328 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3647, allocations: 39.22 kB / 0.5328 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.3647, allocations: 35.44 kB / 0.5328 GB, free: 3.512 MB / 410.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.0001609/0.3649, allocations: 200.9 kB / 0.533 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.365, allocations: 59.44 kB / 0.5331 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.3658, allocations: 483.4 kB / 0.5335 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3658, allocations: 7.5 kB / 0.5335 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3658, allocations: 0 / 0.5335 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3658, allocations: 4.516 kB / 0.5335 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.3672, allocations: 0.9333 MB / 0.5345 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3672, allocations: 0 / 0.5345 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3675, allocations: 92.58 kB / 0.5345 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.3679, allocations: 90.94 kB / 0.5346 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.3679, allocations: 26.78 kB / 0.5347 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.369, allocations: 1.949 MB / 0.5366 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.369, allocations: 0 / 0.5366 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.3698, allocations: 0.655 MB / 0.5372 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.37, allocations: 77.41 kB / 0.5373 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.37, allocations: 14.59 kB / 0.5373 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3703, allocations: 31.72 kB / 0.5373 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3704, allocations: 56.05 kB / 0.5374 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.3705, allocations: 32.59 kB / 0.5374 GB, free: 164 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.3707, allocations: 262.3 kB / 0.5377 GB, free: 4 kB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3707, allocations: 0 / 0.5377 GB, free: 4 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008168/0.3715, allocations: 236.6 kB / 0.5379 GB, free: 15.96 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.0006319/0.3721, allocations: 288.9 kB / 0.5382 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3728, allocations: 413.2 kB / 0.5385 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3728, allocations: 3.984 kB / 0.5386 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.3732, allocations: 347.8 kB / 0.5389 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.374, allocations: 218.7 kB / 0.5391 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3762, allocations: 0.997 MB / 0.5401 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.3763, allocations: 135.5 kB / 0.5402 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.3768, allocations: 134.7 kB / 0.5403 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3769, allocations: 63.69 kB / 0.5404 GB, free: 14.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3769, allocations: 0 / 0.5404 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Templates: time 0.01997/0.3969, allocations: 12.6 MB / 0.5527 GB, free: 6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1108845877461135]