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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 193.3 kB / 18.9 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.18 MB / 336.9 MB, free: 2.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.98 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3784/0.5005, allocations: 158.5 MB / 0.6132 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.5037, allocations: 1.716 MB / 0.6149 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.5043, allocations: 15.88 kB / 0.6149 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.5051, allocations: 183 kB / 0.6151 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5072, allocations: 0.715 MB / 0.6158 GB, free: 36 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.5089, allocations: 0.613 MB / 0.6164 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5103, allocations: 1.158 MB / 0.6175 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.5109, allocations: 326.4 kB / 0.6178 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.5118, allocations: 466.3 kB / 0.6183 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.5124, allocations: 402.4 kB / 0.6186 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.5125, allocations: 44 kB / 0.6187 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5136, allocations: 0.5305 MB / 0.6192 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.5138, allocations: 159.5 kB / 0.6194 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.5141, allocations: 270.7 kB / 0.6196 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.5151, allocations: 0.7055 MB / 0.6203 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5151, allocations: 0 / 0.6203 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5151, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.5152, allocations: 3.938 kB / 0.6203 GB, free: 11.38 MB / 462.1 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.001875/0.517, allocations: 0.8983 MB / 0.6212 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5171, allocations: 8.031 kB / 0.6212 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.5175, allocations: 71.33 kB / 0.6213 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.5181, allocations: 394.4 kB / 0.6216 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.5182, allocations: 62.69 kB / 0.6217 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.5183, allocations: 39.94 kB / 0.6217 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.5193, allocations: 0.5204 MB / 0.6223 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5193, allocations: 11.92 kB / 0.6223 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.5194, allocations: 19.98 kB / 0.6223 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.5194, allocations: 16.66 kB / 0.6223 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.5203, allocations: 402.2 kB / 0.6227 GB, free: 8.809 MB / 462.1 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.003223/0.5236, allocations: 2.5 MB / 0.6251 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.5244, allocations: 343.4 kB / 0.6254 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.5248, allocations: 157.3 kB / 0.6256 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.5248, allocations: 12.2 kB / 0.6256 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.5254, allocations: 264.8 kB / 0.6259 GB, free: 5.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.5254, allocations: 0 / 0.6259 GB, free: 5.336 MB / 462.1 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.01227/0.5377, allocations: 3.25 MB / 0.629 GB, free: 1.965 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.5378, allocations: 162.2 kB / 0.6292 GB, free: 1.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.5382, allocations: 389.5 kB / 0.6296 GB, free: 1.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.5383, allocations: 33.7 kB / 0.6296 GB, free: 1.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.5385, allocations: 260 kB / 0.6298 GB, free: 1.082 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.5387, allocations: 157.8 kB / 0.63 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.5389, allocations: 126.2 kB / 0.6301 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.539, allocations: 358.8 kB / 0.6305 GB, free: 448 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.5396, allocations: 213.2 kB / 0.6307 GB, free: 236 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.5404, allocations: 409.1 kB / 0.6311 GB, free: 15.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.5417, allocations: 0.6472 MB / 0.6317 GB, free: 15.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5417, allocations: 0 / 0.6317 GB, free: 15.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001889/0.5436, allocations: 0.783 MB / 0.6324 GB, free: 14.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.5437, allocations: 41.81 kB / 0.6325 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5437, allocations: 7.984 kB / 0.6325 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.5441, allocations: 112.8 kB / 0.6326 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.5447, allocations: 135.8 kB / 0.6327 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005783/0.5453, allocations: 0.6772 MB / 0.6334 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.5459, allocations: 55.89 kB / 0.6334 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.5459, allocations: 47.98 kB / 0.6335 GB, free: 13.12 MB / 478.1 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.0002787/0.5462, allocations: 194.3 kB / 0.6337 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5463, allocations: 51.44 kB / 0.6337 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.5484, allocations: 0.7274 MB / 0.6344 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5484, allocations: 12 kB / 0.6344 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5484, allocations: 0.75 kB / 0.6344 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5484, allocations: 7.969 kB / 0.6345 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.551, allocations: 1.282 MB / 0.6357 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.551, allocations: 7.984 kB / 0.6357 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.5515, allocations: 107.9 kB / 0.6358 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.5521, allocations: 104.8 kB / 0.6359 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.5522, allocations: 19.92 kB / 0.6359 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.5541, allocations: 1.809 MB / 0.6377 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5541, allocations: 7.969 kB / 0.6377 GB, free: 8.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.5564, allocations: 0.9811 MB / 0.6387 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.5567, allocations: 164.5 kB / 0.6388 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5568, allocations: 12 kB / 0.6388 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.5573, allocations: 43.95 kB / 0.6389 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5575, allocations: 67.8 kB / 0.6389 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/0.5576, allocations: 35.98 kB / 0.639 GB, free: 7.207 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.5579, allocations: 279.1 kB / 0.6392 GB, free: 6.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5579, allocations: 0 / 0.6392 GB, free: 6.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.5587, allocations: 231.9 kB / 0.6395 GB, free: 6.711 MB / 478.1 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 (41): * Single equations (assignments): 38 * 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.0008556/0.5596, allocations: 301.7 kB / 0.6398 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.5613, allocations: 0.6306 MB / 0.6404 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5613, allocations: 0 / 0.6404 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.5621, allocations: 414 kB / 0.6408 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5633, allocations: 212.5 kB / 0.641 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.5655, allocations: 1.356 MB / 0.6423 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5659, allocations: 0.8551 MB / 0.6431 GB, free: 2.867 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.5662, allocations: 83.41 kB / 0.6432 GB, free: 2.785 MB / 478.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5662, allocations: 0 / 0.6432 GB, free: 2.785 MB / 478.1 MB Notification: Performance of Templates: time 0.01686/0.5831, allocations: 11.6 MB / 0.6545 GB, free: 7.227 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches