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.0009311/0.0009311, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001691/0.001691, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9445/0.9445, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1456/0.1456, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] 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.323e-06/1.323e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.591e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3226/0.3226, allocations: 145 MB / 0.512 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.3249, allocations: 1.624 MB / 0.5136 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.3253, allocations: 17.16 kB / 0.5136 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.3258, allocations: 170.6 kB / 0.5138 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.3275, allocations: 0.7959 MB / 0.5146 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3288, allocations: 0.6329 MB / 0.5152 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3301, allocations: 1.187 MB / 0.5163 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.3305, allocations: 298.1 kB / 0.5166 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.3313, allocations: 0.6167 MB / 0.5172 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.3318, allocations: 348.3 kB / 0.5175 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.3319, allocations: 42.88 kB / 0.5176 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.3327, allocations: 492.5 kB / 0.5181 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.3328, allocations: 167.2 kB / 0.5182 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.333, allocations: 198.2 kB / 0.5184 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.3339, allocations: 0.8327 MB / 0.5192 GB, free: 16.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3339, allocations: 0 / 0.5192 GB, free: 16.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3339, allocations: 0 / 0.5192 GB, free: 16.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3339, allocations: 0 / 0.5192 GB, free: 16.08 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.001136/0.3351, allocations: 0.9317 MB / 0.5201 GB, free: 15.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3351, allocations: 12.19 kB / 0.5201 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.3354, allocations: 128 kB / 0.5203 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3358, allocations: 354.4 kB / 0.5206 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.3358, allocations: 88.77 kB / 0.5207 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.3359, allocations: 50.14 kB / 0.5207 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.3363, allocations: 0.629 MB / 0.5213 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3363, allocations: 5.219 kB / 0.5214 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3363, allocations: 19 kB / 0.5214 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.3364, allocations: 16.86 kB / 0.5214 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3366, allocations: 161.3 kB / 0.5215 GB, free: 14.68 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.001703/0.3383, allocations: 2.243 MB / 0.5237 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.3386, allocations: 190 kB / 0.5239 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.3387, allocations: 70.69 kB / 0.524 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3387, allocations: 5.844 kB / 0.524 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.339, allocations: 319.2 kB / 0.5243 GB, free: 12.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/0.339, allocations: 0 / 0.5243 GB, free: 12.75 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.004435/0.3434, allocations: 1.673 MB / 0.5259 GB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.3434, allocations: 112.3 kB / 0.526 GB, free: 12.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3436, allocations: 400 kB / 0.5264 GB, free: 11.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3437, allocations: 35.33 kB / 0.5264 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3438, allocations: 311.9 kB / 0.5267 GB, free: 11.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.3439, allocations: 168.7 kB / 0.5269 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.344, allocations: 124.6 kB / 0.527 GB, free: 11.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.3441, allocations: 0.535 MB / 0.5275 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3442, allocations: 92.98 kB / 0.5276 GB, free: 11.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.3444, allocations: 400.7 kB / 0.528 GB, free: 10.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.3448, allocations: 424.1 kB / 0.5284 GB, free: 10.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3448, allocations: 2.656 kB / 0.5284 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007231/0.3455, allocations: 0.5388 MB / 0.5289 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3455, allocations: 37.7 kB / 0.529 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3455, allocations: 6.312 kB / 0.529 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.3458, allocations: 75.97 kB / 0.5291 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.3461, allocations: 122.9 kB / 0.5292 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002795/0.3464, allocations: 0.8568 MB / 0.53 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.3466, allocations: 41.86 kB / 0.5301 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.3467, allocations: 35.23 kB / 0.5301 GB, free: 9.336 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.0001414/0.3468, allocations: 203.8 kB / 0.5303 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.3469, allocations: 58.94 kB / 0.5303 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.3476, allocations: 445.2 kB / 0.5308 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3476, allocations: 9.219 kB / 0.5308 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3476, allocations: 4 kB / 0.5308 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3476, allocations: 2.156 kB / 0.5308 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3486, allocations: 0.8491 MB / 0.5316 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.3487, allocations: 0 / 0.5316 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.3489, allocations: 91.92 kB / 0.5317 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.3493, allocations: 93.27 kB / 0.5318 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3493, allocations: 17.2 kB / 0.5318 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008628/0.3502, allocations: 1.918 MB / 0.5337 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3502, allocations: 2.219 kB / 0.5337 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.3509, allocations: 0.6075 MB / 0.5343 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.351, allocations: 80.5 kB / 0.5343 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3511, allocations: 9.031 kB / 0.5344 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3513, allocations: 30.44 kB / 0.5344 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3514, allocations: 59.34 kB / 0.5344 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.3515, allocations: 22.3 kB / 0.5345 GB, free: 6.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3516, allocations: 251.8 kB / 0.5347 GB, free: 6.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3516, allocations: 2.906 kB / 0.5347 GB, free: 6.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.3523, allocations: 232 kB / 0.5349 GB, free: 6.48 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.0005393/0.3528, allocations: 302.5 kB / 0.5352 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.3533, allocations: 374.9 kB / 0.5356 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3533, allocations: 2.5 kB / 0.5356 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.3536, allocations: 331.8 kB / 0.5359 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.3543, allocations: 220.3 kB / 0.5361 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3559, allocations: 0.9874 MB / 0.5371 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.356, allocations: 135.4 kB / 0.5372 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.3564, allocations: 109 kB / 0.5373 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.3568, allocations: 276.7 kB / 0.5376 GB, free: 5.285 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3568, allocations: 0 / 0.5376 GB, free: 5.285 MB / 410.7 MB Notification: Performance of Templates: time 0.01801/0.3748, allocations: 14.03 MB / 0.5513 GB, free: 15.05 MB / 426.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","",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.8515767729841173]