Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001479/0.001479, allocations: 107 kB / 17.03 MB, free: 5.707 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.001616/0.001616, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2261/0.2261, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 75.78 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.121, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4668/0.5878, allocations: 163.3 MB / 0.5911 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.594, allocations: 4.096 MB / 0.5951 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.5944, allocations: 10.72 kB / 0.5951 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.5951, allocations: 211.2 kB / 0.5953 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.5975, allocations: 0.835 MB / 0.5962 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.5991, allocations: 0.6701 MB / 0.5968 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.6003, allocations: 1.147 MB / 0.5979 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.6008, allocations: 338.7 kB / 0.5983 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.6015, allocations: 460.2 kB / 0.5987 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.6019, allocations: 380.7 kB / 0.5991 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.602, allocations: 45.19 kB / 0.5991 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.6031, allocations: 0.5961 MB / 0.5997 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.6033, allocations: 153.6 kB / 0.5998 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.6035, allocations: 275.1 kB / 0.6001 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6046, allocations: 0.9729 MB / 0.601 GB, free: 8.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6046, allocations: 4 kB / 0.601 GB, free: 8.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6046, allocations: 2.875 kB / 0.601 GB, free: 8.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.6046, allocations: 0 / 0.601 GB, free: 8.168 MB / 430.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.001586/0.6062, allocations: 0.8968 MB / 0.6019 GB, free: 7.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6063, allocations: 14.05 kB / 0.6019 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.6066, allocations: 72.8 kB / 0.602 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.6073, allocations: 416.7 kB / 0.6024 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.6074, allocations: 58.23 kB / 0.6025 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.6074, allocations: 37.28 kB / 0.6025 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/0.6083, allocations: 0.5239 MB / 0.603 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6083, allocations: 3.906 kB / 0.603 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.6084, allocations: 20.95 kB / 0.603 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.6084, allocations: 16.66 kB / 0.603 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.6093, allocations: 404.2 kB / 0.6034 GB, free: 6.785 MB / 430.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.00292/0.6122, allocations: 2.47 MB / 0.6058 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.613, allocations: 348.9 kB / 0.6062 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.6133, allocations: 162.2 kB / 0.6063 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.6134, allocations: 15.95 kB / 0.6063 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005297/0.6139, allocations: 272.3 kB / 0.6066 GB, free: 4.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.6139, allocations: 0 / 0.6066 GB, free: 4.312 MB / 430.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.01145/0.6254, allocations: 3.226 MB / 0.6098 GB, free: 2.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.6255, allocations: 163.8 kB / 0.6099 GB, free: 2.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.6259, allocations: 389.4 kB / 0.6103 GB, free: 1.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.626, allocations: 36.36 kB / 0.6103 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.6261, allocations: 262.8 kB / 0.6106 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6263, allocations: 166.6 kB / 0.6107 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.6265, allocations: 123.1 kB / 0.6108 GB, free: 1.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6266, allocations: 356.7 kB / 0.6112 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.6272, allocations: 216.7 kB / 0.6114 GB, free: 1.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.6279, allocations: 412.6 kB / 0.6118 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.6292, allocations: 0.6359 MB / 0.6124 GB, free: 248 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6292, allocations: 4 kB / 0.6124 GB, free: 244 kB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001806/0.6311, allocations: 0.7909 MB / 0.6132 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.6311, allocations: 33.05 kB / 0.6132 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6311, allocations: 10.34 kB / 0.6132 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.6315, allocations: 118.3 kB / 0.6133 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.6321, allocations: 136.3 kB / 0.6135 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000581/0.6327, allocations: 0.6776 MB / 0.6141 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.6332, allocations: 45.02 kB / 0.6142 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/0.6333, allocations: 49.7 kB / 0.6142 GB, free: 15.06 MB / 446.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.0002463/0.6335, allocations: 203 kB / 0.6144 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.6336, allocations: 48.25 kB / 0.6145 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.6355, allocations: 0.7333 MB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6355, allocations: 5.094 kB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6355, allocations: 0.5625 kB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6355, allocations: 3.984 kB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.638, allocations: 1.282 MB / 0.6164 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.638, allocations: 0 / 0.6164 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.6385, allocations: 109 kB / 0.6165 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.639, allocations: 104.1 kB / 0.6166 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.6391, allocations: 19.98 kB / 0.6167 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.641, allocations: 1.815 MB / 0.6184 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6411, allocations: 0 / 0.6184 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.6432, allocations: 0.9723 MB / 0.6194 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.6436, allocations: 168.5 kB / 0.6195 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.6437, allocations: 16.62 kB / 0.6196 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.6441, allocations: 43.95 kB / 0.6196 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6443, allocations: 55.92 kB / 0.6197 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.6444, allocations: 35.98 kB / 0.6197 GB, free: 9.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.6447, allocations: 271.1 kB / 0.6199 GB, free: 9.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.6447, allocations: 0 / 0.6199 GB, free: 9.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008231/0.6455, allocations: 247.9 kB / 0.6202 GB, free: 9.367 MB / 446.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.0008666/0.6464, allocations: 326.8 kB / 0.6205 GB, free: 9.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.648, allocations: 0.6147 MB / 0.6211 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.648, allocations: 0 / 0.6211 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.6489, allocations: 419.2 kB / 0.6215 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6499, allocations: 212.2 kB / 0.6217 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.6521, allocations: 1.147 MB / 0.6228 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.6525, allocations: 0.859 MB / 0.6237 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005615/0.6531, allocations: 152.6 kB / 0.6238 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.6533, allocations: 75.42 kB / 0.6239 GB, free: 5.523 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6533, allocations: 0 / 0.6239 GB, free: 5.523 MB / 446.1 MB Notification: Performance of Templates: time 0.02192/0.6753, allocations: 13.52 MB / 0.6371 GB, free: 8.066 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches