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.0009724/0.0009724, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001109/0.001109, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 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 0.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2761/0.2761, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.501e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3462/0.3462, allocations: 156.4 MB / 0.5199 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.3491, allocations: 1.626 MB / 0.5215 GB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.3495, allocations: 20.72 kB / 0.5215 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.3502, allocations: 200.1 kB / 0.5217 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.352, allocations: 0.8213 MB / 0.5225 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3534, allocations: 0.6843 MB / 0.5232 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3546, allocations: 1.174 MB / 0.5243 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.355, allocations: 294 kB / 0.5246 GB, free: 9.738 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.3558, allocations: 0.6238 MB / 0.5252 GB, free: 9.473 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.3563, allocations: 345.8 kB / 0.5256 GB, free: 9.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.3564, allocations: 46.03 kB / 0.5256 GB, free: 9.371 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.3573, allocations: 0.4902 MB / 0.5261 GB, free: 9.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3575, allocations: 178.3 kB / 0.5262 GB, free: 9.133 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3576, allocations: 190.7 kB / 0.5264 GB, free: 9.059 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3587, allocations: 0.8437 MB / 0.5273 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3587, allocations: 0 / 0.5273 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3587, allocations: 0 / 0.5273 GB, free: 8.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3587, allocations: 3.938 kB / 0.5273 GB, free: 8.734 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.001197/0.3599, allocations: 0.935 MB / 0.5282 GB, free: 8.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3599, allocations: 15.52 kB / 0.5282 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.3603, allocations: 116.6 kB / 0.5283 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3607, allocations: 359 kB / 0.5286 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.3608, allocations: 83.64 kB / 0.5287 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.3608, allocations: 40.62 kB / 0.5288 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.3614, allocations: 0.6567 MB / 0.5294 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3614, allocations: 10.39 kB / 0.5294 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3614, allocations: 18.31 kB / 0.5294 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.3615, allocations: 17.12 kB / 0.5294 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.3617, allocations: 201.9 kB / 0.5296 GB, free: 7.047 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.001548/0.3633, allocations: 2.311 MB / 0.5319 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3636, allocations: 199.1 kB / 0.5321 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3637, allocations: 80.89 kB / 0.5322 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3637, allocations: 6.438 kB / 0.5322 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.364, allocations: 361.1 kB / 0.5325 GB, free: 4.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.364, allocations: 0 / 0.5325 GB, free: 4.719 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.004265/0.3683, allocations: 1.877 MB / 0.5343 GB, free: 3.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3683, allocations: 140 kB / 0.5345 GB, free: 3.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3686, allocations: 400.6 kB / 0.5349 GB, free: 3.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3686, allocations: 36.64 kB / 0.5349 GB, free: 3.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3687, allocations: 308 kB / 0.5352 GB, free: 3.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.3688, allocations: 166.4 kB / 0.5353 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3689, allocations: 127.6 kB / 0.5355 GB, free: 3.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.369, allocations: 0.5287 MB / 0.536 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3691, allocations: 115 kB / 0.5361 GB, free: 2.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.3693, allocations: 453.5 kB / 0.5365 GB, free: 1.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.3697, allocations: 453.7 kB / 0.537 GB, free: 1.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3697, allocations: 0 / 0.537 GB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000679/0.3704, allocations: 0.5742 MB / 0.5375 GB, free: 1.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3704, allocations: 36.92 kB / 0.5376 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3704, allocations: 5.219 kB / 0.5376 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.3707, allocations: 86.56 kB / 0.5376 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.3709, allocations: 125.2 kB / 0.5378 GB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002881/0.3712, allocations: 0.854 MB / 0.5386 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3714, allocations: 38.72 kB / 0.5386 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3715, allocations: 38.58 kB / 0.5387 GB, free: 448 kB / 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.0001307/0.3716, allocations: 199.5 kB / 0.5389 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.3717, allocations: 59.38 kB / 0.5389 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.3723, allocations: 480 kB / 0.5394 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3723, allocations: 9.594 kB / 0.5394 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3723, allocations: 0 / 0.5394 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3724, allocations: 2.578 kB / 0.5394 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3735, allocations: 0.9457 MB / 0.5403 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3735, allocations: 0 / 0.5403 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.3737, allocations: 91.53 kB / 0.5404 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/0.374, allocations: 96.98 kB / 0.5405 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.374, allocations: 20.28 kB / 0.5405 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3752, allocations: 1.944 MB / 0.5424 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3752, allocations: 3.062 kB / 0.5424 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.3759, allocations: 0.6575 MB / 0.5431 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.376, allocations: 80.94 kB / 0.5431 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.3761, allocations: 7.031 kB / 0.5431 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3762, allocations: 35.69 kB / 0.5432 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3764, allocations: 59.17 kB / 0.5432 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.3764, allocations: 28.95 kB / 0.5433 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3766, allocations: 262 kB / 0.5435 GB, free: 12.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 0 / 0.5435 GB, free: 12.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006593/0.3772, allocations: 235.9 kB / 0.5437 GB, free: 12.88 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.0005025/0.3777, allocations: 302.8 kB / 0.544 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.3783, allocations: 406.2 kB / 0.5444 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3783, allocations: 0 / 0.5444 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.3787, allocations: 351.5 kB / 0.5447 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.3793, allocations: 213.5 kB / 0.5449 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3809, allocations: 0.9913 MB / 0.5459 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.381, allocations: 142.1 kB / 0.546 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.3814, allocations: 133.3 kB / 0.5462 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3815, allocations: 65.53 kB / 0.5462 GB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3815, allocations: 0 / 0.5462 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.01686/0.3983, allocations: 12.81 MB / 0.5587 GB, free: 1.246 MB / 426.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.835641131969169]