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.001368/0.001368, allocations: 97.3 kB / 17 MB, free: 6.477 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.002098/0.002098, allocations: 181.7 kB / 17.89 MB, free: 5.922 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.392/1.392, allocations: 223.3 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8.938 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4251/0.5348, allocations: 145.9 MB / 0.6031 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.539, allocations: 1.644 MB / 0.6047 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.5397, allocations: 15.88 kB / 0.6047 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.5404, allocations: 166.9 kB / 0.6049 GB, free: 15.36 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002618/0.5431, allocations: 0.6623 MB / 0.6055 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5448, allocations: 0.5239 MB / 0.606 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.5463, allocations: 1.349 MB / 0.6073 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004627/0.5468, allocations: 273 kB / 0.6076 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.5475, allocations: 402.4 kB / 0.608 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.548, allocations: 370.5 kB / 0.6083 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.5481, allocations: 20 kB / 0.6083 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.5492, allocations: 399.4 kB / 0.6087 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.5494, allocations: 135.5 kB / 0.6089 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5495, allocations: 121.5 kB / 0.609 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.5504, allocations: 0.6491 MB / 0.6096 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5504, allocations: 0 / 0.6096 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5504, allocations: 0 / 0.6096 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.5504, allocations: 4 kB / 0.6096 GB, free: 10.48 MB / 446.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.001555/0.552, allocations: 0.8172 MB / 0.6104 GB, free: 9.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.552, allocations: 12.56 kB / 0.6104 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.5524, allocations: 76.19 kB / 0.6105 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.553, allocations: 382.6 kB / 0.6109 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.5531, allocations: 58.7 kB / 0.6109 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.5532, allocations: 39.95 kB / 0.6109 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.5541, allocations: 0.5322 MB / 0.6115 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.5542, allocations: 8 kB / 0.6115 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.5542, allocations: 16 kB / 0.6115 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.5543, allocations: 12.66 kB / 0.6115 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.5552, allocations: 430.1 kB / 0.6119 GB, free: 7.973 MB / 446.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.003374/0.5586, allocations: 2.514 MB / 0.6144 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.5595, allocations: 361.7 kB / 0.6147 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.5599, allocations: 181.2 kB / 0.6149 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.5599, allocations: 4.281 kB / 0.6149 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.5606, allocations: 288.8 kB / 0.6152 GB, free: 4.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.495e-06/0.5606, allocations: 0 / 0.6152 GB, free: 4.43 MB / 446.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.01194/0.5725, allocations: 3.593 MB / 0.6187 GB, free: 0.707 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.5727, allocations: 158.2 kB / 0.6188 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.5731, allocations: 385.5 kB / 0.6192 GB, free: 132 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.5732, allocations: 37.7 kB / 0.6192 GB, free: 88 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.5734, allocations: 255.9 kB / 0.6195 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5735, allocations: 157.7 kB / 0.6196 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.5736, allocations: 16 kB / 0.6196 GB, free: 15.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5737, allocations: 358.8 kB / 0.62 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.5743, allocations: 245.1 kB / 0.6202 GB, free: 15.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.5751, allocations: 425.1 kB / 0.6206 GB, free: 14.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.5758, allocations: 322.2 kB / 0.6209 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.5758, allocations: 4 kB / 0.6209 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001882/0.5777, allocations: 0.8099 MB / 0.6217 GB, free: 13.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.5777, allocations: 33.7 kB / 0.6218 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5778, allocations: 7.219 kB / 0.6218 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.5782, allocations: 120.8 kB / 0.6219 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.5788, allocations: 151.8 kB / 0.622 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.5796, allocations: 0.6772 MB / 0.6227 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.5801, allocations: 72.02 kB / 0.6228 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.5802, allocations: 43.98 kB / 0.6228 GB, free: 12.29 MB / 462.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 ($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.0003065/0.5805, allocations: 195.9 kB / 0.623 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.5806, allocations: 47.44 kB / 0.623 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.5827, allocations: 0.7766 MB / 0.6238 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5827, allocations: 7.984 kB / 0.6238 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5827, allocations: 4 kB / 0.6238 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5827, allocations: 7.984 kB / 0.6238 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.5852, allocations: 1.328 MB / 0.6251 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5853, allocations: 4 kB / 0.6251 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.5858, allocations: 119.8 kB / 0.6252 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.5863, allocations: 108.8 kB / 0.6253 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.5864, allocations: 19.92 kB / 0.6253 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.5882, allocations: 1.699 MB / 0.627 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5883, allocations: 0 / 0.627 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5905, allocations: 1.052 MB / 0.628 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5907, allocations: 164.5 kB / 0.6282 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.5908, allocations: 16 kB / 0.6282 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.5913, allocations: 55.94 kB / 0.6283 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.5915, allocations: 71.84 kB / 0.6283 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.5915, allocations: 35.98 kB / 0.6284 GB, free: 6.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.5918, allocations: 263.2 kB / 0.6286 GB, free: 6.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5919, allocations: 0 / 0.6286 GB, free: 6.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008816/0.5927, allocations: 231.9 kB / 0.6288 GB, free: 5.816 MB / 462.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 (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.0008566/0.5936, allocations: 297.2 kB / 0.6291 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.5952, allocations: 0.6501 MB / 0.6297 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5952, allocations: 3.938 kB / 0.6297 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.5961, allocations: 438.4 kB / 0.6302 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5971, allocations: 193.3 kB / 0.6304 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5992, allocations: 1.385 MB / 0.6317 GB, free: 2.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.5998, allocations: 0.8592 MB / 0.6325 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000689/0.6005, allocations: 148.7 kB / 0.6327 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.6007, allocations: 63.42 kB / 0.6327 GB, free: 1.703 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6007, allocations: 4 kB / 0.6328 GB, free: 1.699 MB / 462.1 MB Notification: Performance of Templates: time 0.02194/0.6227, allocations: 12.26 MB / 0.6447 GB, free: 5.547 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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