Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 179.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006454/0.0006454, allocations: 85.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2735/0.2735, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09175, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2917/0.3835, allocations: 148.6 MB / 0.6244 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3886, allocations: 3.894 MB / 0.6282 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.3891, allocations: 15.88 kB / 0.6283 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.3896, allocations: 170.9 kB / 0.6284 GB, free: 14.17 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001902/0.3915, allocations: 0.7388 MB / 0.6291 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.393, allocations: 0.5296 MB / 0.6297 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.3945, allocations: 1.337 MB / 0.631 GB, free: 11.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.395, allocations: 284.2 kB / 0.6312 GB, free: 11.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007781/0.3957, allocations: 406.4 kB / 0.6316 GB, free: 10.89 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.3962, allocations: 362.6 kB / 0.632 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.3963, allocations: 27.94 kB / 0.632 GB, free: 10.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3974, allocations: 495.7 kB / 0.6325 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3976, allocations: 139.5 kB / 0.6326 GB, free: 9.883 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.3978, allocations: 260.6 kB / 0.6328 GB, free: 9.621 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.3987, allocations: 0.6975 MB / 0.6335 GB, free: 8.922 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3987, allocations: 4 kB / 0.6335 GB, free: 8.918 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3987, allocations: 0 / 0.6335 GB, free: 8.918 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3987, allocations: 0 / 0.6335 GB, free: 8.918 MB / 458.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.001526/0.4003, allocations: 0.8147 MB / 0.6343 GB, free: 8.051 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4003, allocations: 8.031 kB / 0.6343 GB, free: 8.043 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.4007, allocations: 67.42 kB / 0.6344 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.4012, allocations: 402.3 kB / 0.6348 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.4013, allocations: 62.69 kB / 0.6348 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.4014, allocations: 39.91 kB / 0.6349 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.4023, allocations: 0.5283 MB / 0.6354 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4023, allocations: 4 kB / 0.6354 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.4023, allocations: 16 kB / 0.6354 GB, free: 6.848 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.4024, allocations: 24.58 kB / 0.6354 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.4032, allocations: 426.2 kB / 0.6358 GB, free: 6.406 MB / 458.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.002904/0.4061, allocations: 2.507 MB / 0.6383 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007907/0.407, allocations: 371.4 kB / 0.6386 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.4073, allocations: 175.8 kB / 0.6388 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.4074, allocations: 4.281 kB / 0.6388 GB, free: 3.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.4079, allocations: 284.1 kB / 0.6391 GB, free: 2.867 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.408, allocations: 0 / 0.6391 GB, free: 2.867 MB / 458.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.01125/0.4192, allocations: 3.592 MB / 0.6426 GB, free: 15.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.4193, allocations: 162.2 kB / 0.6428 GB, free: 14.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.4197, allocations: 389.4 kB / 0.6431 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.4198, allocations: 37.7 kB / 0.6432 GB, free: 14.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.42, allocations: 263.9 kB / 0.6434 GB, free: 14.26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.4201, allocations: 157.7 kB / 0.6436 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.4201, allocations: 12 kB / 0.6436 GB, free: 14.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4203, allocations: 358.8 kB / 0.6439 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.4209, allocations: 241.1 kB / 0.6441 GB, free: 13.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.4216, allocations: 425.1 kB / 0.6445 GB, free: 13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4228, allocations: 0.6863 MB / 0.6452 GB, free: 12.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4228, allocations: 0 / 0.6452 GB, free: 12.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001731/0.4246, allocations: 0.8138 MB / 0.646 GB, free: 11.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.4246, allocations: 33.7 kB / 0.646 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4246, allocations: 8 kB / 0.6461 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.4251, allocations: 125.5 kB / 0.6462 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.4256, allocations: 143.8 kB / 0.6463 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005753/0.4262, allocations: 0.6811 MB / 0.647 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.4268, allocations: 59.95 kB / 0.647 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.4268, allocations: 52.12 kB / 0.6471 GB, free: 10.29 MB / 474.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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.4271, allocations: 197.6 kB / 0.6473 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.4272, allocations: 55.36 kB / 0.6473 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.4292, allocations: 0.778 MB / 0.6481 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4292, allocations: 8 kB / 0.6481 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4292, allocations: 0 / 0.6481 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4293, allocations: 3.984 kB / 0.6481 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4317, allocations: 1.327 MB / 0.6494 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4317, allocations: 9.844 kB / 0.6494 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.4322, allocations: 119.8 kB / 0.6495 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.4328, allocations: 104.8 kB / 0.6496 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.4328, allocations: 19.98 kB / 0.6496 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.4345, allocations: 1.687 MB / 0.6513 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4345, allocations: 8.844 kB / 0.6513 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.4366, allocations: 1.04 MB / 0.6523 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.4369, allocations: 164.5 kB / 0.6525 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.437, allocations: 12 kB / 0.6525 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.4374, allocations: 67.94 kB / 0.6525 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4376, allocations: 59.91 kB / 0.6526 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.4377, allocations: 35.98 kB / 0.6526 GB, free: 4.316 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002763/0.4379, allocations: 275 kB / 0.6529 GB, free: 4.051 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.438, allocations: 3.938 kB / 0.6529 GB, free: 4.047 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007576/0.4387, allocations: 243.9 kB / 0.6531 GB, free: 3.809 MB / 474.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007211/0.4394, allocations: 308.5 kB / 0.6534 GB, free: 3.512 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.4409, allocations: 0.6565 MB / 0.6541 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.441, allocations: 0 / 0.6541 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.4418, allocations: 431.2 kB / 0.6545 GB, free: 2.418 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4428, allocations: 187.3 kB / 0.6547 GB, free: 2.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.4447, allocations: 1.431 MB / 0.6561 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4451, allocations: 0.8553 MB / 0.6569 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.4454, allocations: 83.41 kB / 0.657 GB, free: 15.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4454, allocations: 0 / 0.657 GB, free: 15.8 MB / 490.7 MB Notification: Performance of Templates: time 0.01524/0.4606, allocations: 11.63 MB / 0.6683 GB, free: 4.195 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches