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.0009083/0.0009083, allocations: 83.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.0009441/0.0009441, allocations: 165 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 1.038/1.038, 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.2601/0.2601, allocations: 34.25 MB / 295.7 MB, free: 0.6836 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 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.906e-05, allocations: 2.312 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3318/0.3318, allocations: 147.8 MB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.3345, allocations: 1.642 MB / 0.5151 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.3349, allocations: 19.88 kB / 0.5151 GB, free: 14.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.3354, allocations: 163 kB / 0.5153 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.3372, allocations: 0.8013 MB / 0.516 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3385, allocations: 0.6394 MB / 0.5167 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3397, allocations: 1.181 MB / 0.5178 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.3402, allocations: 298.7 kB / 0.5181 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.341, allocations: 0.6213 MB / 0.5187 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.3415, allocations: 347.9 kB / 0.519 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.3416, allocations: 43.25 kB / 0.5191 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.3425, allocations: 498.6 kB / 0.5196 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3427, allocations: 164.8 kB / 0.5197 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3428, allocations: 189.8 kB / 0.5199 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3439, allocations: 0.8233 MB / 0.5207 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3439, allocations: 0 / 0.5207 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3439, allocations: 2.25 kB / 0.5207 GB, free: 12.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.3439, allocations: 4 kB / 0.5207 GB, free: 12.4 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.0013/0.3452, allocations: 0.9306 MB / 0.5216 GB, free: 11.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3453, allocations: 8.5 kB / 0.5216 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.3456, allocations: 134.3 kB / 0.5218 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.3461, allocations: 348.9 kB / 0.5221 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.3462, allocations: 84.41 kB / 0.5222 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.3462, allocations: 56.38 kB / 0.5222 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.3468, allocations: 0.6618 MB / 0.5229 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3468, allocations: 3.938 kB / 0.5229 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.3469, allocations: 14.34 kB / 0.5229 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.3469, allocations: 18.69 kB / 0.5229 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3472, allocations: 191.7 kB / 0.5231 GB, free: 10.72 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.001683/0.3489, allocations: 2.301 MB / 0.5253 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.3492, allocations: 207.6 kB / 0.5255 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3494, allocations: 75.69 kB / 0.5256 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.3494, allocations: 12.3 kB / 0.5256 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.3497, allocations: 326.3 kB / 0.5259 GB, free: 8.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.3497, allocations: 2.719 kB / 0.5259 GB, free: 8.43 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.004321/0.354, allocations: 1.876 MB / 0.5278 GB, free: 7.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3541, allocations: 112.4 kB / 0.5279 GB, free: 7.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3544, allocations: 405.2 kB / 0.5283 GB, free: 7.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3544, allocations: 40.52 kB / 0.5283 GB, free: 7.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3545, allocations: 304 kB / 0.5286 GB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.3546, allocations: 166.5 kB / 0.5287 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3547, allocations: 124.4 kB / 0.5289 GB, free: 6.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3548, allocations: 0.5282 MB / 0.5294 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.355, allocations: 109.4 kB / 0.5295 GB, free: 6.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3552, allocations: 410.1 kB / 0.5299 GB, free: 5.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.3555, allocations: 457.2 kB / 0.5303 GB, free: 5.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3556, allocations: 6.625 kB / 0.5303 GB, free: 5.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007141/0.3563, allocations: 0.5684 MB / 0.5309 GB, free: 5.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.3563, allocations: 38.42 kB / 0.5309 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3563, allocations: 5.812 kB / 0.5309 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.3566, allocations: 79 kB / 0.531 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.3568, allocations: 132 kB / 0.5311 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003091/0.3572, allocations: 0.8581 MB / 0.5319 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3574, allocations: 35.86 kB / 0.532 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3574, allocations: 35.16 kB / 0.532 GB, free: 4.234 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.0001463/0.3576, allocations: 201.9 kB / 0.5322 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.3576, allocations: 69.72 kB / 0.5323 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.3583, allocations: 475.9 kB / 0.5327 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3583, allocations: 7.422 kB / 0.5327 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3583, allocations: 3.938 kB / 0.5327 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.3583, allocations: 1.969 kB / 0.5327 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3594, allocations: 0.9375 MB / 0.5337 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3594, allocations: 0 / 0.5337 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3596, allocations: 92.3 kB / 0.5337 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.3599, allocations: 99.89 kB / 0.5338 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.3599, allocations: 16.08 kB / 0.5339 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.3608, allocations: 1.955 MB / 0.5358 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3608, allocations: 0 / 0.5358 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.3615, allocations: 0.6503 MB / 0.5364 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3616, allocations: 81.5 kB / 0.5365 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3617, allocations: 17.62 kB / 0.5365 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3619, allocations: 36.36 kB / 0.5365 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.362, allocations: 51.53 kB / 0.5366 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.362, allocations: 29.27 kB / 0.5366 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.3622, allocations: 262.2 kB / 0.5369 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3622, allocations: 0 / 0.5369 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000694/0.3629, allocations: 232.2 kB / 0.5371 GB, free: 0.6836 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.0006417/0.3635, allocations: 296.9 kB / 0.5374 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.3641, allocations: 409.5 kB / 0.5378 GB, free: 368 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3641, allocations: 3.938 kB / 0.5378 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.3644, allocations: 356 kB / 0.5381 GB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.365, allocations: 218.9 kB / 0.5383 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3667, allocations: 0.9936 MB / 0.5393 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.3668, allocations: 132.6 kB / 0.5394 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.3671, allocations: 126.3 kB / 0.5395 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3673, allocations: 64 kB / 0.5396 GB, free: 15.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3673, allocations: 0 / 0.5396 GB, free: 15.31 MB / 426.7 MB Notification: Performance of Templates: time 0.01795/0.3852, allocations: 13.72 MB / 0.553 GB, free: 5.836 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.9297546092420816]