Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001394/0.001394, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001646/0.001646, allocations: 165.7 kB / 24.27 MB, free: 144 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.515/1.515, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4169/0.4169, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.975e-05/5.175e-05, allocations: 6.25 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.409/0.409, allocations: 141.4 MB / 0.5045 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.4124, allocations: 1.579 MB / 0.5061 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.4128, allocations: 20.59 kB / 0.5061 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.4135, allocations: 207.9 kB / 0.5063 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.4158, allocations: 0.8219 MB / 0.5071 GB, free: 18.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.4177, allocations: 0.6874 MB / 0.5077 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.4194, allocations: 1.172 MB / 0.5089 GB, free: 17.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.4198, allocations: 286.2 kB / 0.5092 GB, free: 17.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4209, allocations: 0.6221 MB / 0.5098 GB, free: 17.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.4213, allocations: 345.5 kB / 0.5101 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.4214, allocations: 43.81 kB / 0.5101 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.4226, allocations: 0.4939 MB / 0.5106 GB, free: 17.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.4228, allocations: 166.2 kB / 0.5108 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.423, allocations: 195.9 kB / 0.511 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4243, allocations: 1.032 MB / 0.512 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4243, allocations: 0 / 0.512 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4243, allocations: 3.938 kB / 0.512 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4243, allocations: 0 / 0.512 GB, free: 16.57 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.001601/0.4259, allocations: 0.8412 MB / 0.5128 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4259, allocations: 13.52 kB / 0.5128 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.4264, allocations: 123.3 kB / 0.5129 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.4269, allocations: 362.9 kB / 0.5133 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.427, allocations: 85.27 kB / 0.5134 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.4271, allocations: 44.97 kB / 0.5134 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009119/0.428, allocations: 0.7437 MB / 0.5141 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.428, allocations: 7.891 kB / 0.5141 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4281, allocations: 23.27 kB / 0.5142 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.4281, allocations: 14.09 kB / 0.5142 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.4289, allocations: 400.2 kB / 0.5146 GB, free: 14.91 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.00246/0.4314, allocations: 1.947 MB / 0.5165 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.4321, allocations: 329.9 kB / 0.5168 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.4324, allocations: 148.2 kB / 0.5169 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4325, allocations: 16.25 kB / 0.5169 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.433, allocations: 412.2 kB / 0.5173 GB, free: 13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.433, allocations: 0 / 0.5173 GB, free: 13 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.01088/0.4439, allocations: 2.987 MB / 0.5202 GB, free: 11.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.444, allocations: 134.8 kB / 0.5204 GB, free: 11.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.4443, allocations: 371.3 kB / 0.5207 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.4444, allocations: 37.05 kB / 0.5208 GB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4445, allocations: 257.3 kB / 0.521 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.4446, allocations: 171.2 kB / 0.5212 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.4448, allocations: 118.6 kB / 0.5213 GB, free: 11.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.4449, allocations: 360 kB / 0.5216 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.4454, allocations: 244 kB / 0.5219 GB, free: 10.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.446, allocations: 0.4921 MB / 0.5223 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.4471, allocations: 0.6356 MB / 0.523 GB, free: 9.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4471, allocations: 2.75 kB / 0.523 GB, free: 9.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001683/0.4488, allocations: 0.828 MB / 0.5238 GB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.4488, allocations: 37.33 kB / 0.5238 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4488, allocations: 8.906 kB / 0.5238 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.4492, allocations: 105.3 kB / 0.5239 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.4498, allocations: 133.1 kB / 0.524 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004192/0.4502, allocations: 0.6615 MB / 0.5247 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.4507, allocations: 44.11 kB / 0.5247 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.4507, allocations: 42.25 kB / 0.5248 GB, free: 8.898 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.00023/0.451, allocations: 198.9 kB / 0.525 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4511, allocations: 60.25 kB / 0.525 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.4529, allocations: 0.684 MB / 0.5257 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4529, allocations: 6.25 kB / 0.5257 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4529, allocations: 4 kB / 0.5257 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.4529, allocations: 1.781 kB / 0.5257 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.4552, allocations: 1.114 MB / 0.5268 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4552, allocations: 8.094 kB / 0.5268 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.4557, allocations: 95.69 kB / 0.5269 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.4563, allocations: 114.7 kB / 0.527 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.4563, allocations: 19.05 kB / 0.527 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.4577, allocations: 1.689 MB / 0.5287 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4577, allocations: 0 / 0.5287 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.4597, allocations: 0.9534 MB / 0.5296 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4599, allocations: 77.5 kB / 0.5297 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.46, allocations: 12.97 kB / 0.5297 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.4604, allocations: 46.55 kB / 0.5297 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.4606, allocations: 63.03 kB / 0.5298 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.4606, allocations: 27.34 kB / 0.5298 GB, free: 5.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.4609, allocations: 260.2 kB / 0.5301 GB, free: 5.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4609, allocations: 0 / 0.5301 GB, free: 5.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008191/0.4617, allocations: 234.3 kB / 0.5303 GB, free: 5.676 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.0006233/0.4623, allocations: 301 kB / 0.5306 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4637, allocations: 0.6113 MB / 0.5312 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4637, allocations: 2.188 kB / 0.5312 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.4644, allocations: 390.7 kB / 0.5315 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4654, allocations: 215.5 kB / 0.5317 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.4671, allocations: 1.046 MB / 0.5328 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4673, allocations: 253.3 kB / 0.533 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004534/0.4678, allocations: 134.1 kB / 0.5331 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4679, allocations: 67.88 kB / 0.5332 GB, free: 4.234 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4679, allocations: 0 / 0.5332 GB, free: 4.234 MB / 410.7 MB Notification: Performance of Templates: time 0.02042/0.4884, allocations: 12.72 MB / 0.5456 GB, free: 11.17 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.777390906936489]