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.00199/0.00199, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002249/0.002249, allocations: 161.7 kB / 24.26 MB, free: 176 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.491/1.491, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3435/0.3435, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.539e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.382/0.382, allocations: 141.4 MB / 0.5065 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.3853, allocations: 1.579 MB / 0.508 GB, free: 17.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.3858, allocations: 20.22 kB / 0.5081 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.3865, allocations: 208.7 kB / 0.5083 GB, free: 17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.3888, allocations: 0.8172 MB / 0.5091 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3907, allocations: 0.6877 MB / 0.5097 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.3921, allocations: 1.172 MB / 0.5109 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.3926, allocations: 288.4 kB / 0.5111 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009369/0.3935, allocations: 0.6245 MB / 0.5118 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.394, allocations: 351.1 kB / 0.5121 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.394, allocations: 44.62 kB / 0.5121 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.3951, allocations: 0.4955 MB / 0.5126 GB, free: 14.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3953, allocations: 161.8 kB / 0.5128 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.3955, allocations: 193.2 kB / 0.513 GB, free: 14.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3968, allocations: 1.03 MB / 0.514 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3968, allocations: 0 / 0.514 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3968, allocations: 2.5 kB / 0.514 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.3968, allocations: 0 / 0.514 GB, free: 14.45 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.001523/0.3983, allocations: 0.8413 MB / 0.5148 GB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3983, allocations: 10.44 kB / 0.5148 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.3988, allocations: 120.7 kB / 0.5149 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.3994, allocations: 361.6 kB / 0.5153 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.3994, allocations: 89.97 kB / 0.5153 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.3995, allocations: 38.5 kB / 0.5154 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.4004, allocations: 0.7482 MB / 0.5161 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.4005, allocations: 11.83 kB / 0.5161 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.4005, allocations: 17.16 kB / 0.5161 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.4006, allocations: 16.19 kB / 0.5162 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.4017, allocations: 397.8 kB / 0.5165 GB, free: 12.8 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.003436/0.4051, allocations: 1.947 MB / 0.5184 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.406, allocations: 334.5 kB / 0.5188 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.4066, allocations: 149.7 kB / 0.5189 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.4066, allocations: 7.828 kB / 0.5189 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008113/0.4074, allocations: 425 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.326e-06/0.4074, allocations: 3.984 kB / 0.5193 GB, free: 10.87 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.01687/0.4243, allocations: 2.984 MB / 0.5222 GB, free: 9.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.4244, allocations: 133.4 kB / 0.5224 GB, free: 9.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.4249, allocations: 374.1 kB / 0.5227 GB, free: 9.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.425, allocations: 34.86 kB / 0.5227 GB, free: 9.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.4251, allocations: 261.7 kB / 0.523 GB, free: 9.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.4253, allocations: 162.2 kB / 0.5231 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.4255, allocations: 120.3 kB / 0.5233 GB, free: 9.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.4256, allocations: 359.1 kB / 0.5236 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008753/0.4265, allocations: 241.4 kB / 0.5238 GB, free: 8.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/0.4275, allocations: 0.4985 MB / 0.5243 GB, free: 8.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.4293, allocations: 0.6331 MB / 0.5249 GB, free: 7.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4293, allocations: 0 / 0.5249 GB, free: 7.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002767/0.4321, allocations: 0.8308 MB / 0.5258 GB, free: 7.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.4321, allocations: 31.23 kB / 0.5258 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4321, allocations: 4.969 kB / 0.5258 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.4326, allocations: 108.6 kB / 0.5259 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/0.4336, allocations: 143.7 kB / 0.526 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.4343, allocations: 0.6547 MB / 0.5267 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/0.4352, allocations: 49.58 kB / 0.5267 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.4353, allocations: 39.38 kB / 0.5268 GB, free: 6.785 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.0004187/0.4357, allocations: 199.4 kB / 0.5269 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.4359, allocations: 64.03 kB / 0.527 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.439, allocations: 0.6817 MB / 0.5277 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.439, allocations: 5.031 kB / 0.5277 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.439, allocations: 5.719 kB / 0.5277 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.439, allocations: 0 / 0.5277 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.4432, allocations: 1.111 MB / 0.5288 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4432, allocations: 2.406 kB / 0.5288 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.4441, allocations: 97.91 kB / 0.5289 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4453, allocations: 122.1 kB / 0.529 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.4454, allocations: 14.77 kB / 0.529 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.4486, allocations: 1.693 MB / 0.5306 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4486, allocations: 0 / 0.5306 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.4527, allocations: 0.9544 MB / 0.5316 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.4531, allocations: 83.72 kB / 0.5317 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.4533, allocations: 11.44 kB / 0.5317 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/0.4542, allocations: 43.09 kB / 0.5317 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.4545, allocations: 62.19 kB / 0.5318 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.4546, allocations: 27.53 kB / 0.5318 GB, free: 3.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005736/0.4552, allocations: 254.1 kB / 0.532 GB, free: 3.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4552, allocations: 0 / 0.532 GB, free: 3.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001673/0.4569, allocations: 237.7 kB / 0.5323 GB, free: 3.562 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.001297/0.4582, allocations: 308.3 kB / 0.5326 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.4606, allocations: 0.6007 MB / 0.5331 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4606, allocations: 0 / 0.5331 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.462, allocations: 391.8 kB / 0.5335 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.4639, allocations: 218.7 kB / 0.5337 GB, free: 2.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.4668, allocations: 1.042 MB / 0.5347 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4671, allocations: 256.7 kB / 0.535 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008896/0.468, allocations: 135.2 kB / 0.5351 GB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.4684, allocations: 65 kB / 0.5352 GB, free: 1.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4684, allocations: 0 / 0.5352 GB, free: 1.961 MB / 410.7 MB Notification: Performance of Templates: time 0.043/0.5114, allocations: 12.71 MB / 0.5476 GB, free: 7.934 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.840096019092016]