Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.00128, allocations: 199.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008082/0.0008082, allocations: 98.48 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3284/0.3284, allocations: 45.01 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002452, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2851, allocations: 63.1 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1626/0.4478, allocations: 151 MB / 0.6688 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.4521, allocations: 2.778 MB / 0.6716 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.4528, allocations: 15.88 kB / 0.6716 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.4535, allocations: 187 kB / 0.6718 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.4556, allocations: 0.6865 MB / 0.6724 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4572, allocations: 0.5925 MB / 0.673 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.4589, allocations: 1.595 MB / 0.6746 GB, free: 8.781 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.4593, allocations: 273.3 kB / 0.6748 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.46, allocations: 434.2 kB / 0.6752 GB, free: 8.086 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.4605, allocations: 386.4 kB / 0.6756 GB, free: 7.707 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.4606, allocations: 24 kB / 0.6756 GB, free: 7.684 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.4616, allocations: 475.2 kB / 0.6761 GB, free: 7.219 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.4617, allocations: 131.6 kB / 0.6762 GB, free: 7.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.462, allocations: 276.4 kB / 0.6765 GB, free: 6.812 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4632, allocations: 0.927 MB / 0.6774 GB, free: 5.883 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4632, allocations: 4 kB / 0.6774 GB, free: 5.879 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4632, allocations: 0 / 0.6774 GB, free: 5.879 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.4632, allocations: 0 / 0.6774 GB, free: 5.879 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.001493/0.4647, allocations: 0.8095 MB / 0.6782 GB, free: 5.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4648, allocations: 8.031 kB / 0.6782 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.4651, allocations: 75.31 kB / 0.6782 GB, free: 4.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.4656, allocations: 394.3 kB / 0.6786 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.4657, allocations: 70.62 kB / 0.6787 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.4658, allocations: 36 kB / 0.6787 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.4668, allocations: 0.5244 MB / 0.6792 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4668, allocations: 7.984 kB / 0.6792 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.4669, allocations: 16 kB / 0.6793 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.4669, allocations: 16.59 kB / 0.6793 GB, free: 3.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.4677, allocations: 434.2 kB / 0.6797 GB, free: 3.367 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.002959/0.4707, allocations: 2.493 MB / 0.6821 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.4715, allocations: 365.7 kB / 0.6825 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.4719, allocations: 173.3 kB / 0.6826 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.4719, allocations: 4.281 kB / 0.6826 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.198/0.6699, allocations: 275 kB / 0.6829 GB, free: 147.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.67, allocations: 0 / 0.6829 GB, free: 147.5 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.01122/0.6812, allocations: 3.606 MB / 0.6864 GB, free: 146.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.6813, allocations: 163.8 kB / 0.6866 GB, free: 146.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.6816, allocations: 382.9 kB / 0.6869 GB, free: 146.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.6817, allocations: 35.77 kB / 0.687 GB, free: 146.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.6818, allocations: 266 kB / 0.6872 GB, free: 145.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.6819, allocations: 162.8 kB / 0.6874 GB, free: 145.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.6819, allocations: 16.48 kB / 0.6874 GB, free: 145.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.682, allocations: 359.2 kB / 0.6877 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.6825, allocations: 239.8 kB / 0.688 GB, free: 145.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.6831, allocations: 424.7 kB / 0.6884 GB, free: 145.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6842, allocations: 0.6851 MB / 0.689 GB, free: 144.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6842, allocations: 0 / 0.689 GB, free: 144.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001471/0.6856, allocations: 0.8149 MB / 0.6898 GB, free: 144.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.6857, allocations: 45.03 kB / 0.6899 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6857, allocations: 6.344 kB / 0.6899 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.6861, allocations: 111.6 kB / 0.69 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.6866, allocations: 150.4 kB / 0.6901 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004385/0.6871, allocations: 0.6702 MB / 0.6908 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.6876, allocations: 71.34 kB / 0.6909 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.6876, allocations: 44.84 kB / 0.6909 GB, free: 143.7 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.0002109/0.6879, allocations: 199.5 kB / 0.6911 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.6879, allocations: 47.12 kB / 0.6911 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.6896, allocations: 0.7917 MB / 0.6919 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6896, allocations: 6.75 kB / 0.6919 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6897, allocations: 0 / 0.6919 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6897, allocations: 2.719 kB / 0.6919 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.6917, allocations: 1.33 MB / 0.6932 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6918, allocations: 0 / 0.6932 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.6922, allocations: 118.7 kB / 0.6933 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.6927, allocations: 109.1 kB / 0.6934 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.6927, allocations: 22.14 kB / 0.6935 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.6941, allocations: 1.691 MB / 0.6951 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6941, allocations: 2.797 kB / 0.6951 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.696, allocations: 1.041 MB / 0.6961 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.6962, allocations: 170.5 kB / 0.6963 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.6963, allocations: 9.75 kB / 0.6963 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.6967, allocations: 71.44 kB / 0.6964 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.6969, allocations: 64.41 kB / 0.6964 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.6969, allocations: 34.98 kB / 0.6965 GB, free: 140.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.6972, allocations: 266.7 kB / 0.6967 GB, free: 140.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6972, allocations: 0 / 0.6967 GB, free: 140.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006903/0.6979, allocations: 231.2 kB / 0.6969 GB, free: 140.2 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.0006741/0.6986, allocations: 329 kB / 0.6973 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.6999, allocations: 0.6438 MB / 0.6979 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6999, allocations: 5.906 kB / 0.6979 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.7006, allocations: 442.7 kB / 0.6983 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.7016, allocations: 204.3 kB / 0.6985 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.7032, allocations: 1.418 MB / 0.6999 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.7035, allocations: 0.8617 MB / 0.7007 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006046/0.7041, allocations: 159.6 kB / 0.7009 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.7043, allocations: 69.08 kB / 0.701 GB, free: 138 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7044, allocations: 0 / 0.701 GB, free: 138 MB / 490.7 MB Notification: Performance of Templates: time 0.01869/0.7231, allocations: 12.62 MB / 0.7133 GB, free: 133.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches