Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 92.08 kB / 295.1 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3444/0.3444, allocations: 44.31 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3726, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1739/0.5466, allocations: 150.7 MB / 0.6599 GB, free: 6.098 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.5509, allocations: 2.771 MB / 0.6626 GB, free: 3.066 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.5514, allocations: 19.81 kB / 0.6627 GB, free: 3.047 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.5521, allocations: 187 kB / 0.6628 GB, free: 2.863 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.5543, allocations: 0.6827 MB / 0.6635 GB, free: 2.18 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.5559, allocations: 0.5808 MB / 0.6641 GB, free: 1.598 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.5578, allocations: 1.599 MB / 0.6656 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.5583, allocations: 281.3 kB / 0.6659 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/0.5591, allocations: 418.2 kB / 0.6663 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.5597, allocations: 382.4 kB / 0.6667 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.5598, allocations: 24 kB / 0.6667 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.561, allocations: 475.2 kB / 0.6671 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.5612, allocations: 135.5 kB / 0.6673 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.5615, allocations: 272.4 kB / 0.6675 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.5628, allocations: 0.9347 MB / 0.6684 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.5628, allocations: 0 / 0.6684 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5629, allocations: 4 kB / 0.6684 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.5629, allocations: 0 / 0.6684 GB, free: 13.09 MB / 490.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.00164/0.5645, allocations: 0.8062 MB / 0.6692 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5646, allocations: 8.031 kB / 0.6692 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.5649, allocations: 75.33 kB / 0.6693 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.5655, allocations: 406.2 kB / 0.6697 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.5656, allocations: 62.64 kB / 0.6698 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.5657, allocations: 32 kB / 0.6698 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.5666, allocations: 0.5283 MB / 0.6703 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5667, allocations: 4 kB / 0.6703 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.5667, allocations: 12 kB / 0.6703 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.5668, allocations: 24.59 kB / 0.6703 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.5677, allocations: 426.2 kB / 0.6707 GB, free: 10.59 MB / 490.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.003064/0.5707, allocations: 2.522 MB / 0.6732 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.5716, allocations: 359.4 kB / 0.6736 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.572, allocations: 173.3 kB / 0.6737 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.572, allocations: 4.281 kB / 0.6737 GB, free: 7.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.5726, allocations: 285.8 kB / 0.674 GB, free: 7.047 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.5726, allocations: 0 / 0.674 GB, free: 7.047 MB / 490.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.01176/0.5844, allocations: 3.616 MB / 0.6775 GB, free: 3.305 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5845, allocations: 162.2 kB / 0.6777 GB, free: 3.109 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.585, allocations: 381.6 kB / 0.678 GB, free: 2.727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.5851, allocations: 37.7 kB / 0.6781 GB, free: 2.684 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.5853, allocations: 255.9 kB / 0.6783 GB, free: 2.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5854, allocations: 161.7 kB / 0.6785 GB, free: 2.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.5855, allocations: 12 kB / 0.6785 GB, free: 2.258 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5856, allocations: 358.8 kB / 0.6788 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.5862, allocations: 245.1 kB / 0.6791 GB, free: 1.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.587, allocations: 425.1 kB / 0.6795 GB, free: 1.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5882, allocations: 0.6785 MB / 0.6801 GB, free: 420 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5883, allocations: 4 kB / 0.6801 GB, free: 416 kB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.2954/0.8837, allocations: 0.8096 MB / 0.6809 GB, free: 145.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.8838, allocations: 34.72 kB / 0.681 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8838, allocations: 8.844 kB / 0.681 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.8844, allocations: 119.8 kB / 0.6811 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.8851, allocations: 146.1 kB / 0.6812 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/0.8858, allocations: 0.6735 MB / 0.6819 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.8865, allocations: 68.89 kB / 0.6819 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8867, allocations: 45.7 kB / 0.682 GB, free: 145 MB / 490.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 (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.0004091/0.8871, allocations: 198.1 kB / 0.6822 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.8872, allocations: 50.03 kB / 0.6822 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.8893, allocations: 0.787 MB / 0.683 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.8893, allocations: 6.688 kB / 0.683 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8893, allocations: 3.938 kB / 0.683 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.8893, allocations: 0 / 0.683 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.8917, allocations: 1.329 MB / 0.6843 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8917, allocations: 0 / 0.6843 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.8922, allocations: 121.8 kB / 0.6844 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/0.8928, allocations: 105.9 kB / 0.6845 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.8929, allocations: 21.42 kB / 0.6845 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.8943, allocations: 1.7 MB / 0.6862 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8943, allocations: 3.953 kB / 0.6862 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.8967, allocations: 1.041 MB / 0.6872 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.8969, allocations: 168.6 kB / 0.6874 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.897, allocations: 17.12 kB / 0.6874 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.8975, allocations: 60.12 kB / 0.6875 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.8977, allocations: 60.44 kB / 0.6875 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.8978, allocations: 37.03 kB / 0.6875 GB, free: 142 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002577/0.8981, allocations: 267.5 kB / 0.6878 GB, free: 141.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8981, allocations: 0 / 0.6878 GB, free: 141.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.8989, allocations: 233.9 kB / 0.688 GB, free: 141.8 MB / 490.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 (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.0007971/0.8997, allocations: 311.7 kB / 0.6883 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.9012, allocations: 0.6447 MB / 0.689 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9012, allocations: 3.719 kB / 0.689 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.902, allocations: 449.9 kB / 0.6894 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.903, allocations: 195.9 kB / 0.6896 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.9048, allocations: 1.427 MB / 0.691 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.9051, allocations: 0.8535 MB / 0.6918 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000645/0.9057, allocations: 163.4 kB / 0.692 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.906, allocations: 69.89 kB / 0.692 GB, free: 139.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.906, allocations: 4 kB / 0.692 GB, free: 139.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0198/0.9258, allocations: 12.61 MB / 0.7043 GB, free: 138.7 MB / 490.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches