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.000974/0.000974, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009165/0.0009165, allocations: 161 kB / 24.56 MB, free: 12 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 0.9444/0.9444, allocations: 177.1 MB / 205 MB, free: 5.613 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.2533/0.2533, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.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 2.054e-06/2.054e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.078e-05, allocations: 6.25 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3282/0.3282, allocations: 147.8 MB / 0.5135 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.3311, allocations: 1.641 MB / 0.5151 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.3316, allocations: 20.81 kB / 0.5151 GB, free: 15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.3321, allocations: 170.3 kB / 0.5153 GB, free: 14.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.3341, allocations: 0.799 MB / 0.516 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3355, allocations: 0.6365 MB / 0.5167 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.3367, allocations: 1.184 MB / 0.5178 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.3372, allocations: 293.1 kB / 0.5181 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.3381, allocations: 0.6275 MB / 0.5187 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.3385, allocations: 344.8 kB / 0.519 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.3386, allocations: 45.97 kB / 0.5191 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000867/0.3395, allocations: 490 kB / 0.5195 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3396, allocations: 170.2 kB / 0.5197 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3398, allocations: 198 kB / 0.5199 GB, free: 12.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3409, allocations: 0.8259 MB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3409, allocations: 0 / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.3409, allocations: 3.938 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3409, allocations: 0 / 0.5207 GB, free: 12.43 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.00116/0.3421, allocations: 0.9245 MB / 0.5216 GB, free: 11.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3421, allocations: 14.45 kB / 0.5216 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.3424, allocations: 120.4 kB / 0.5217 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3428, allocations: 353.4 kB / 0.5221 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.3429, allocations: 91.83 kB / 0.5222 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.3429, allocations: 48.86 kB / 0.5222 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.3434, allocations: 0.6608 MB / 0.5229 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3434, allocations: 3.938 kB / 0.5229 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.3435, allocations: 17.72 kB / 0.5229 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.3435, allocations: 17.27 kB / 0.5229 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.3438, allocations: 197.6 kB / 0.5231 GB, free: 10.75 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.001638/0.3454, allocations: 2.305 MB / 0.5253 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.3457, allocations: 204.7 kB / 0.5255 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3459, allocations: 81.3 kB / 0.5256 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.3459, allocations: 6.125 kB / 0.5256 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.3462, allocations: 365.3 kB / 0.526 GB, free: 8.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.3462, allocations: 0 / 0.526 GB, free: 8.414 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.004264/0.3504, allocations: 1.877 MB / 0.5278 GB, free: 7.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3505, allocations: 134 kB / 0.5279 GB, free: 7.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3507, allocations: 409.2 kB / 0.5283 GB, free: 7.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3508, allocations: 32.3 kB / 0.5283 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3509, allocations: 311.9 kB / 0.5286 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.351, allocations: 162.8 kB / 0.5288 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3511, allocations: 127.8 kB / 0.5289 GB, free: 6.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.3512, allocations: 0.5275 MB / 0.5294 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3513, allocations: 112.7 kB / 0.5295 GB, free: 6.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3515, allocations: 446.8 kB / 0.53 GB, free: 5.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3519, allocations: 461.3 kB / 0.5304 GB, free: 5.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3519, allocations: 0 / 0.5304 GB, free: 5.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006678/0.3525, allocations: 0.5754 MB / 0.531 GB, free: 5.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.3526, allocations: 33.77 kB / 0.531 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3526, allocations: 3.5 kB / 0.531 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.3528, allocations: 82.94 kB / 0.5311 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.3531, allocations: 125.7 kB / 0.5312 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002864/0.3534, allocations: 0.8579 MB / 0.532 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3536, allocations: 39.55 kB / 0.5321 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3536, allocations: 41.92 kB / 0.5321 GB, free: 4.141 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.0001249/0.3537, allocations: 195.4 kB / 0.5323 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3538, allocations: 66.09 kB / 0.5324 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.3544, allocations: 475.3 kB / 0.5328 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3544, allocations: 12.62 kB / 0.5328 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3544, allocations: 0 / 0.5328 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3544, allocations: 2.203 kB / 0.5328 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.3554, allocations: 0.9334 MB / 0.5337 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3554, allocations: 0 / 0.5337 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3556, allocations: 91.97 kB / 0.5338 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.3559, allocations: 104.4 kB / 0.5339 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.356, allocations: 20.11 kB / 0.5339 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000867/0.3568, allocations: 1.95 MB / 0.5359 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3568, allocations: 2.844 kB / 0.5359 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.3575, allocations: 0.6562 MB / 0.5365 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3576, allocations: 80.75 kB / 0.5366 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3577, allocations: 14.12 kB / 0.5366 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3578, allocations: 31.72 kB / 0.5366 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3579, allocations: 51.86 kB / 0.5367 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.358, allocations: 28.72 kB / 0.5367 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3581, allocations: 259.6 kB / 0.5369 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3581, allocations: 0 / 0.5369 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.3587, allocations: 236.3 kB / 0.5372 GB, free: 0.5938 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.0004758/0.3592, allocations: 303.3 kB / 0.5375 GB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3597, allocations: 412.9 kB / 0.5378 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3597, allocations: 0 / 0.5378 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.36, allocations: 347.5 kB / 0.5382 GB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.3606, allocations: 218.3 kB / 0.5384 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.3622, allocations: 0.9835 MB / 0.5393 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.3623, allocations: 132.9 kB / 0.5395 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000307/0.3626, allocations: 138.1 kB / 0.5396 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3628, allocations: 67.11 kB / 0.5397 GB, free: 15.22 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3628, allocations: 0 / 0.5397 GB, free: 15.22 MB / 426.7 MB Notification: Performance of Templates: time 0.01595/0.3787, allocations: 12.6 MB / 0.552 GB, free: 6.867 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.8339901007711887]