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.001668/0.001668, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001789/0.001789, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.51 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.2211/0.2211, allocations: 44.18 MB / 336.8 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.33 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4341/0.5454, allocations: 158.5 MB / 0.6129 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.5499, allocations: 1.759 MB / 0.6147 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.5506, allocations: 15.88 kB / 0.6147 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.5514, allocations: 179 kB / 0.6148 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.5543, allocations: 0.6897 MB / 0.6155 GB, free: 84 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.5566, allocations: 0.5914 MB / 0.6161 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.5591, allocations: 1.595 MB / 0.6177 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.5597, allocations: 285.9 kB / 0.6179 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.5608, allocations: 422.3 kB / 0.6183 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.5615, allocations: 386.4 kB / 0.6187 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5616, allocations: 24 kB / 0.6187 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.5631, allocations: 0.4952 MB / 0.6192 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.5634, allocations: 139.6 kB / 0.6193 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.5638, allocations: 254.7 kB / 0.6196 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.5651, allocations: 0.6939 MB / 0.6203 GB, free: 11.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5651, allocations: 0 / 0.6203 GB, free: 11.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5651, allocations: 0 / 0.6203 GB, free: 11.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5651, allocations: 0 / 0.6203 GB, free: 11.22 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.002351/0.5675, allocations: 0.8984 MB / 0.6211 GB, free: 10.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5676, allocations: 8.031 kB / 0.6211 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005587/0.5681, allocations: 75.33 kB / 0.6212 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.5689, allocations: 402.3 kB / 0.6216 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-05/0.569, allocations: 54.7 kB / 0.6217 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.5691, allocations: 43.92 kB / 0.6217 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.5705, allocations: 0.5205 MB / 0.6222 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5706, allocations: 0 / 0.6222 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.5706, allocations: 16 kB / 0.6222 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.5707, allocations: 24.58 kB / 0.6222 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.572, allocations: 414.1 kB / 0.6226 GB, free: 8.633 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.004422/0.5765, allocations: 2.491 MB / 0.6251 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5776, allocations: 345.1 kB / 0.6254 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.5782, allocations: 161.3 kB / 0.6256 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.5783, allocations: 12.2 kB / 0.6256 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007804/0.5791, allocations: 272.8 kB / 0.6258 GB, free: 5.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.835e-06/0.5791, allocations: 0 / 0.6258 GB, free: 5.16 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.01701/0.5961, allocations: 3.233 MB / 0.629 GB, free: 1.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5962, allocations: 166.2 kB / 0.6291 GB, free: 1.602 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.5969, allocations: 385.6 kB / 0.6295 GB, free: 1.215 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.5969, allocations: 37.7 kB / 0.6295 GB, free: 1.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.5972, allocations: 255.9 kB / 0.6298 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.5974, allocations: 153.8 kB / 0.6299 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.5977, allocations: 130.2 kB / 0.6301 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5978, allocations: 350.8 kB / 0.6304 GB, free: 288 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008767/0.5987, allocations: 225.1 kB / 0.6306 GB, free: 64 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5998, allocations: 405.1 kB / 0.631 GB, free: 15.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.6017, allocations: 0.6394 MB / 0.6316 GB, free: 14.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6017, allocations: 0 / 0.6316 GB, free: 14.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002779/0.6045, allocations: 0.7943 MB / 0.6324 GB, free: 14.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.6046, allocations: 37.69 kB / 0.6324 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6046, allocations: 4 kB / 0.6324 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.6052, allocations: 112.8 kB / 0.6325 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.6061, allocations: 146.2 kB / 0.6327 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000831/0.6069, allocations: 0.6771 MB / 0.6333 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.6078, allocations: 56.02 kB / 0.6334 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6079, allocations: 47.98 kB / 0.6334 GB, free: 12.95 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.0004003/0.6083, allocations: 194.2 kB / 0.6336 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6085, allocations: 51.42 kB / 0.6337 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.6114, allocations: 0.736 MB / 0.6344 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.6115, allocations: 4 kB / 0.6344 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6115, allocations: 0 / 0.6344 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.6115, allocations: 3.984 kB / 0.6344 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.6152, allocations: 1.282 MB / 0.6357 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6153, allocations: 3.938 kB / 0.6357 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.616, allocations: 115.7 kB / 0.6358 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007888/0.6168, allocations: 100.9 kB / 0.6359 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.6169, allocations: 23.92 kB / 0.6359 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.6195, allocations: 1.68 MB / 0.6375 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6195, allocations: 0 / 0.6375 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.6227, allocations: 0.9812 MB / 0.6385 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.6231, allocations: 164.5 kB / 0.6386 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.6233, allocations: 15.92 kB / 0.6387 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.6241, allocations: 51.95 kB / 0.6387 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.6244, allocations: 64.97 kB / 0.6388 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6245, allocations: 32 kB / 0.6388 GB, free: 7.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005127/0.625, allocations: 271.1 kB / 0.6391 GB, free: 6.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.625, allocations: 0 / 0.6391 GB, free: 6.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00138/0.6264, allocations: 228 kB / 0.6393 GB, free: 6.695 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.001407/0.6278, allocations: 304.3 kB / 0.6396 GB, free: 6.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.6301, allocations: 0.6023 MB / 0.6402 GB, free: 5.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6301, allocations: 0 / 0.6402 GB, free: 5.785 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6313, allocations: 411.8 kB / 0.6405 GB, free: 5.371 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6331, allocations: 209 kB / 0.6407 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.6367, allocations: 1.355 MB / 0.6421 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.6373, allocations: 0.8475 MB / 0.6429 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.6377, allocations: 87.41 kB / 0.643 GB, free: 2.805 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6378, allocations: 0 / 0.643 GB, free: 2.805 MB / 478.1 MB Notification: Performance of Templates: time 0.02038/0.6581, allocations: 11.58 MB / 0.6543 GB, free: 7.258 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