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.001193/0.001193, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.0009723/0.0009723, allocations: 171.2 kB / 24.82 MB, free: 8.32 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.9158/0.9158, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2609/0.2609, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.383e-06/1.383e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.575e-05, allocations: 6.25 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3113/0.3113, allocations: 145 MB / 0.5093 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.314, allocations: 1.629 MB / 0.5109 GB, free: 18.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.3144, allocations: 21.44 kB / 0.5109 GB, free: 18.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.315, allocations: 161.4 kB / 0.511 GB, free: 18.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3169, allocations: 0.8062 MB / 0.5118 GB, free: 17.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3182, allocations: 0.632 MB / 0.5124 GB, free: 17.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3195, allocations: 1.185 MB / 0.5136 GB, free: 17.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.3199, allocations: 303.8 kB / 0.5139 GB, free: 16.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.3208, allocations: 0.619 MB / 0.5145 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.3212, allocations: 353.9 kB / 0.5148 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.3213, allocations: 46.88 kB / 0.5149 GB, free: 16.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.3222, allocations: 491.4 kB / 0.5153 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3223, allocations: 166.6 kB / 0.5155 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3225, allocations: 190.5 kB / 0.5157 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.3236, allocations: 0.828 MB / 0.5165 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3236, allocations: 0 / 0.5165 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3236, allocations: 0 / 0.5165 GB, free: 15.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3236, allocations: 2.906 kB / 0.5165 GB, free: 15.95 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.00109/0.3247, allocations: 0.9309 MB / 0.5174 GB, free: 15.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3247, allocations: 14.52 kB / 0.5174 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.325, allocations: 123.1 kB / 0.5175 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.3254, allocations: 358.1 kB / 0.5179 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.3255, allocations: 88.42 kB / 0.518 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.3256, allocations: 49.58 kB / 0.518 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.326, allocations: 0.6299 MB / 0.5186 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.326, allocations: 10.75 kB / 0.5186 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.326, allocations: 14.97 kB / 0.5186 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.3261, allocations: 16.11 kB / 0.5187 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.3263, allocations: 156.2 kB / 0.5188 GB, free: 14.29 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.001354/0.3276, allocations: 2.243 MB / 0.521 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3279, allocations: 185.1 kB / 0.5212 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.3279, allocations: 75.38 kB / 0.5212 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.328, allocations: 9.406 kB / 0.5213 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.3281, allocations: 327.9 kB / 0.5216 GB, free: 12.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.3281, allocations: 0 / 0.5216 GB, free: 12.04 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.003447/0.3316, allocations: 1.701 MB / 0.5232 GB, free: 11.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3316, allocations: 116.4 kB / 0.5233 GB, free: 11.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3318, allocations: 401.2 kB / 0.5237 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3318, allocations: 36.73 kB / 0.5238 GB, free: 10.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3319, allocations: 316.9 kB / 0.5241 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.332, allocations: 165.5 kB / 0.5242 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3321, allocations: 126 kB / 0.5243 GB, free: 10.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.3322, allocations: 0.5357 MB / 0.5249 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.3323, allocations: 93.06 kB / 0.5249 GB, free: 9.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3324, allocations: 389.2 kB / 0.5253 GB, free: 9.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3327, allocations: 432.9 kB / 0.5257 GB, free: 9.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3327, allocations: 0 / 0.5257 GB, free: 9.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005925/0.3333, allocations: 0.5489 MB / 0.5263 GB, free: 8.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3333, allocations: 34.27 kB / 0.5263 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3333, allocations: 2.969 kB / 0.5263 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.3336, allocations: 107.3 kB / 0.5264 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3338, allocations: 128.3 kB / 0.5265 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002325/0.3341, allocations: 0.8536 MB / 0.5274 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.3343, allocations: 42.73 kB / 0.5274 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3343, allocations: 33.2 kB / 0.5274 GB, free: 7.961 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.inFlow[1],sweptVolume.regularFlow[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.0001151/0.3344, allocations: 204.6 kB / 0.5276 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3345, allocations: 61.06 kB / 0.5277 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.335, allocations: 456 kB / 0.5281 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.335, allocations: 5.25 kB / 0.5281 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.335, allocations: 3.938 kB / 0.5281 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.335, allocations: 2.578 kB / 0.5281 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.3358, allocations: 0.8541 MB / 0.529 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3358, allocations: 6.25 kB / 0.529 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.336, allocations: 84.47 kB / 0.5291 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.3363, allocations: 95.36 kB / 0.5291 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3363, allocations: 16.02 kB / 0.5292 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006991/0.337, allocations: 1.907 MB / 0.531 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.337, allocations: 10.3 kB / 0.531 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.3376, allocations: 0.6109 MB / 0.5316 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3377, allocations: 75.64 kB / 0.5317 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.3377, allocations: 19.72 kB / 0.5317 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3379, allocations: 25.28 kB / 0.5317 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.338, allocations: 62.53 kB / 0.5318 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.338, allocations: 25.36 kB / 0.5318 GB, free: 4.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3381, allocations: 256.7 kB / 0.5321 GB, free: 4.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3381, allocations: 0 / 0.5321 GB, free: 4.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005185/0.3386, allocations: 233.2 kB / 0.5323 GB, free: 4.523 MB / 410.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.0004248/0.339, allocations: 303.9 kB / 0.5326 GB, free: 4.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.3394, allocations: 369.5 kB / 0.5329 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3394, allocations: 6.844 kB / 0.5329 GB, free: 4.211 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.3396, allocations: 328 kB / 0.5333 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.3402, allocations: 210.3 kB / 0.5335 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3416, allocations: 0.9966 MB / 0.5344 GB, free: 3.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.651e-05/0.3417, allocations: 136.6 kB / 0.5346 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002958/0.342, allocations: 103.1 kB / 0.5347 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.3424, allocations: 276.6 kB / 0.5349 GB, free: 3.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3424, allocations: 4 kB / 0.5349 GB, free: 3.113 MB / 410.7 MB Notification: Performance of Templates: time 0.01493/0.3573, allocations: 13.85 MB / 0.5485 GB, free: 11.34 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.5094821248203516]