Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00237/0.00237, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002025/0.002025, allocations: 165.3 kB / 24.27 MB, free: 156 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3536/0.3536, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.081e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3628/0.3628, allocations: 156.3 MB / 0.5211 GB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3658, allocations: 1.631 MB / 0.5227 GB, free: 9.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.3663, allocations: 20.56 kB / 0.5227 GB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.3671, allocations: 208.3 kB / 0.5229 GB, free: 9.141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.3692, allocations: 0.8209 MB / 0.5237 GB, free: 8.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.3708, allocations: 0.6847 MB / 0.5244 GB, free: 8.352 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3721, allocations: 1.166 MB / 0.5255 GB, free: 7.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.3726, allocations: 298.1 kB / 0.5258 GB, free: 7.629 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3737, allocations: 0.6276 MB / 0.5264 GB, free: 7.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.3743, allocations: 345.6 kB / 0.5268 GB, free: 7.258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3744, allocations: 45.03 kB / 0.5268 GB, free: 7.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3754, allocations: 0.4907 MB / 0.5273 GB, free: 7.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3756, allocations: 173.8 kB / 0.5274 GB, free: 7.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.3759, allocations: 198.9 kB / 0.5276 GB, free: 6.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.3772, allocations: 1.029 MB / 0.5286 GB, free: 6.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3772, allocations: 2.469 kB / 0.5286 GB, free: 6.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3772, allocations: 0 / 0.5286 GB, free: 6.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3773, allocations: 0 / 0.5286 GB, free: 6.586 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.001442/0.3787, allocations: 0.9571 MB / 0.5296 GB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3787, allocations: 8.406 kB / 0.5296 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.3792, allocations: 119.6 kB / 0.5297 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.3797, allocations: 363.2 kB / 0.53 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.3798, allocations: 83.98 kB / 0.5301 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.3799, allocations: 44.5 kB / 0.5302 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.3806, allocations: 0.7334 MB / 0.5309 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3807, allocations: 10.09 kB / 0.5309 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.3807, allocations: 17.25 kB / 0.5309 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.3808, allocations: 18.97 kB / 0.5309 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.3814, allocations: 332.1 kB / 0.5312 GB, free: 4.797 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.002454/0.3839, allocations: 2.467 MB / 0.5337 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.3844, allocations: 304.3 kB / 0.5339 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3847, allocations: 135.8 kB / 0.5341 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.3848, allocations: 10.91 kB / 0.5341 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.3852, allocations: 418.6 kB / 0.5345 GB, free: 2.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3852, allocations: 0 / 0.5345 GB, free: 2.301 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.008959/0.3942, allocations: 2.47 MB / 0.5369 GB, free: 1.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3942, allocations: 134.3 kB / 0.537 GB, free: 1.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.3947, allocations: 478.9 kB / 0.5375 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.3948, allocations: 36.36 kB / 0.5375 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.395, allocations: 320.9 kB / 0.5378 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3951, allocations: 173.5 kB / 0.538 GB, free: 424 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3953, allocations: 146.3 kB / 0.5381 GB, free: 344 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.3956, allocations: 0.5545 MB / 0.5387 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.3963, allocations: 207.4 kB / 0.5389 GB, free: 15.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.3971, allocations: 0.5336 MB / 0.5394 GB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3983, allocations: 0.6286 MB / 0.54 GB, free: 14.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3983, allocations: 4.531 kB / 0.54 GB, free: 14.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001648/0.3999, allocations: 0.7567 MB / 0.5407 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.4, allocations: 32.05 kB / 0.5408 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4, allocations: 6.219 kB / 0.5408 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/0.4004, allocations: 110 kB / 0.5409 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.4009, allocations: 125.8 kB / 0.541 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000814/0.4017, allocations: 0.921 MB / 0.5419 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.4021, allocations: 34.47 kB / 0.5419 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.4022, allocations: 40.42 kB / 0.542 GB, free: 13.5 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.0003271/0.4025, allocations: 233 kB / 0.5422 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4026, allocations: 64.73 kB / 0.5423 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4042, allocations: 0.6401 MB / 0.5429 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4042, allocations: 7.344 kB / 0.5429 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4042, allocations: 6.484 kB / 0.5429 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4043, allocations: 0 / 0.5429 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.4066, allocations: 1.188 MB / 0.5441 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4066, allocations: 6.781 kB / 0.5441 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.407, allocations: 87.62 kB / 0.5441 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.4077, allocations: 119.9 kB / 0.5443 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.4078, allocations: 15.05 kB / 0.5443 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.4101, allocations: 2.19 MB / 0.5464 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4101, allocations: 2.578 kB / 0.5464 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4121, allocations: 0.9439 MB / 0.5473 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.4124, allocations: 74.95 kB / 0.5474 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.4125, allocations: 13.69 kB / 0.5474 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.4129, allocations: 33 kB / 0.5475 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.4131, allocations: 63.59 kB / 0.5475 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.4131, allocations: 27.23 kB / 0.5475 GB, free: 9.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.4135, allocations: 306 kB / 0.5478 GB, free: 9.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4135, allocations: 0 / 0.5478 GB, free: 9.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008033/0.4143, allocations: 231.3 kB / 0.5481 GB, free: 9.332 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.0006953/0.415, allocations: 297.4 kB / 0.5483 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.4163, allocations: 0.5795 MB / 0.5489 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4163, allocations: 0 / 0.5489 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.417, allocations: 443.8 kB / 0.5493 GB, free: 8.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.4181, allocations: 222.5 kB / 0.5495 GB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.4203, allocations: 1.039 MB / 0.5505 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4206, allocations: 252.8 kB / 0.5508 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.4211, allocations: 124.5 kB / 0.5509 GB, free: 7.176 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.4213, allocations: 72.47 kB / 0.551 GB, free: 7.105 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4213, allocations: 0 / 0.551 GB, free: 7.105 MB / 426.7 MB Notification: Performance of Templates: time 0.02557/0.4468, allocations: 12.79 MB / 0.5635 GB, free: 10.48 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.007538147037849]