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.00111/0.00111, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001458/0.001458, allocations: 170.2 kB / 24.82 MB, free: 9.262 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3227/0.3227, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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.134e-06/2.134e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.547e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4124/0.4124, allocations: 145 MB / 0.5112 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004344/0.4168, allocations: 1.628 MB / 0.5128 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.4176, allocations: 19.59 kB / 0.5128 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.4184, allocations: 165.7 kB / 0.513 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.4215, allocations: 0.8066 MB / 0.5138 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.4238, allocations: 0.6355 MB / 0.5144 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.4257, allocations: 1.187 MB / 0.5156 GB, free: 14.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.4262, allocations: 290 kB / 0.5159 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4274, allocations: 0.6297 MB / 0.5165 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.4279, allocations: 348.1 kB / 0.5168 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.428, allocations: 44.22 kB / 0.5168 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.4293, allocations: 492.3 kB / 0.5173 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.4295, allocations: 167.7 kB / 0.5175 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.4297, allocations: 192.5 kB / 0.5177 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.4312, allocations: 0.8231 MB / 0.5185 GB, free: 13.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4312, allocations: 3.094 kB / 0.5185 GB, free: 13.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4312, allocations: 0 / 0.5185 GB, free: 13.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.4312, allocations: 0 / 0.5185 GB, free: 13.78 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.001357/0.4326, allocations: 0.935 MB / 0.5194 GB, free: 13.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.4327, allocations: 10.88 kB / 0.5194 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.4331, allocations: 127.2 kB / 0.5195 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.4335, allocations: 352.8 kB / 0.5198 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.4336, allocations: 87.25 kB / 0.5199 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.4337, allocations: 47.67 kB / 0.52 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.4342, allocations: 0.6313 MB / 0.5206 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4343, allocations: 7.062 kB / 0.5206 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.4343, allocations: 19.66 kB / 0.5206 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.4343, allocations: 18.16 kB / 0.5206 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.4346, allocations: 153.9 kB / 0.5208 GB, free: 12.12 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.001974/0.4365, allocations: 2.248 MB / 0.523 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.4369, allocations: 185.9 kB / 0.5231 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.437, allocations: 69.58 kB / 0.5232 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.4371, allocations: 10.12 kB / 0.5232 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.4375, allocations: 322.6 kB / 0.5235 GB, free: 9.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.266e-06/0.4375, allocations: 0 / 0.5235 GB, free: 9.883 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.004466/0.442, allocations: 1.723 MB / 0.5252 GB, free: 9.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.442, allocations: 108.3 kB / 0.5253 GB, free: 9.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4423, allocations: 401.7 kB / 0.5257 GB, free: 8.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4423, allocations: 32.11 kB / 0.5257 GB, free: 8.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4425, allocations: 315.3 kB / 0.526 GB, free: 8.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.4426, allocations: 168.5 kB / 0.5262 GB, free: 8.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.4428, allocations: 125.9 kB / 0.5263 GB, free: 8.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4429, allocations: 0.5359 MB / 0.5268 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.443, allocations: 93.31 kB / 0.5269 GB, free: 7.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.4433, allocations: 391.7 kB / 0.5273 GB, free: 7.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.4437, allocations: 429 kB / 0.5277 GB, free: 6.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4437, allocations: 0 / 0.5277 GB, free: 6.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008232/0.4445, allocations: 0.5508 MB / 0.5282 GB, free: 6.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.4446, allocations: 33.45 kB / 0.5283 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4446, allocations: 5.781 kB / 0.5283 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.445, allocations: 111.3 kB / 0.5284 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.4453, allocations: 125.5 kB / 0.5285 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/0.4457, allocations: 0.8496 MB / 0.5293 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4459, allocations: 38.25 kB / 0.5294 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-05/0.446, allocations: 36.78 kB / 0.5294 GB, free: 5.797 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.0001881/0.4462, allocations: 198.3 kB / 0.5296 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.4462, allocations: 64.12 kB / 0.5297 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.4469, allocations: 450.8 kB / 0.5301 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4469, allocations: 9.281 kB / 0.5301 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4469, allocations: 3.938 kB / 0.5301 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4469, allocations: 4.453 kB / 0.5301 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.4481, allocations: 0.8478 MB / 0.5309 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4481, allocations: 3.438 kB / 0.5309 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.4484, allocations: 89.88 kB / 0.531 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/0.4487, allocations: 94.81 kB / 0.5311 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4487, allocations: 23.16 kB / 0.5311 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.4499, allocations: 1.905 MB / 0.533 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4499, allocations: 7.594 kB / 0.533 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.4507, allocations: 0.6091 MB / 0.5336 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4509, allocations: 80.22 kB / 0.5337 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.4509, allocations: 13.28 kB / 0.5337 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4511, allocations: 29.05 kB / 0.5337 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4512, allocations: 60.97 kB / 0.5338 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.4513, allocations: 26.17 kB / 0.5338 GB, free: 2.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4514, allocations: 249.7 kB / 0.534 GB, free: 2.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4514, allocations: 0 / 0.534 GB, free: 2.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008756/0.4523, allocations: 234.7 kB / 0.5343 GB, free: 2.359 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.00062/0.4529, allocations: 294.1 kB / 0.5345 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.4536, allocations: 383.7 kB / 0.5349 GB, free: 2.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4536, allocations: 3.938 kB / 0.5349 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.4539, allocations: 337.9 kB / 0.5352 GB, free: 1.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.4546, allocations: 225 kB / 0.5354 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4565, allocations: 0.9739 MB / 0.5364 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.4566, allocations: 136.7 kB / 0.5365 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.457, allocations: 111 kB / 0.5366 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.4575, allocations: 275.5 kB / 0.5369 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of SimCode: time 1.674e-06/0.4575, allocations: 0 / 0.5369 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of Templates: time 0.02129/0.4788, allocations: 13.86 MB / 0.5504 GB, free: 8.109 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: 4.391779772937298]