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.001192/0.001192, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001205/0.001205, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.406/1.406, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.3388/0.3388, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.11 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4039/0.5162, allocations: 160.5 MB / 0.6156 GB, free: 164 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.5199, allocations: 1.67 MB / 0.6173 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.5205, allocations: 15.88 kB / 0.6173 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.5213, allocations: 206.6 kB / 0.6175 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.5238, allocations: 0.7712 MB / 0.6182 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5256, allocations: 0.6827 MB / 0.6189 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.5271, allocations: 1.146 MB / 0.62 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.5276, allocations: 322.5 kB / 0.6203 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.5286, allocations: 470.3 kB / 0.6208 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.5293, allocations: 382.4 kB / 0.6211 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-05/0.5294, allocations: 48 kB / 0.6212 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5307, allocations: 0.5149 MB / 0.6217 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.5309, allocations: 151.6 kB / 0.6218 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.5312, allocations: 274.6 kB / 0.6221 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.5327, allocations: 0.9505 MB / 0.623 GB, free: 8.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5327, allocations: 0 / 0.623 GB, free: 8.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5328, allocations: 4 kB / 0.623 GB, free: 8.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5328, allocations: 0 / 0.623 GB, free: 8.574 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.001776/0.5345, allocations: 0.9028 MB / 0.6239 GB, free: 7.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.5346, allocations: 12.03 kB / 0.6239 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.535, allocations: 71.33 kB / 0.624 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.5356, allocations: 398.3 kB / 0.6244 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.5357, allocations: 54.7 kB / 0.6244 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.5358, allocations: 39.92 kB / 0.6245 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.5367, allocations: 0.5244 MB / 0.625 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5367, allocations: 0 / 0.625 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.5368, allocations: 23.94 kB / 0.625 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.5368, allocations: 16.59 kB / 0.625 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.5377, allocations: 406.1 kB / 0.6254 GB, free: 6.004 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.003102/0.5408, allocations: 2.507 MB / 0.6278 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.5416, allocations: 335.5 kB / 0.6282 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.542, allocations: 161.3 kB / 0.6283 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.542, allocations: 8.219 kB / 0.6283 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.5426, allocations: 269.3 kB / 0.6286 GB, free: 2.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.5426, allocations: 0 / 0.6286 GB, free: 2.527 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.01254/0.5552, allocations: 3.246 MB / 0.6317 GB, free: 15.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.5553, allocations: 166.1 kB / 0.6319 GB, free: 14.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.5558, allocations: 389.5 kB / 0.6323 GB, free: 14.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.5558, allocations: 41.7 kB / 0.6323 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.556, allocations: 244 kB / 0.6326 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5562, allocations: 165.7 kB / 0.6327 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5564, allocations: 122.2 kB / 0.6328 GB, free: 13.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5565, allocations: 358.8 kB / 0.6332 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.5571, allocations: 221.1 kB / 0.6334 GB, free: 13.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.5578, allocations: 405.1 kB / 0.6338 GB, free: 12.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.5592, allocations: 0.6394 MB / 0.6344 GB, free: 12.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5592, allocations: 0 / 0.6344 GB, free: 12.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001927/0.5611, allocations: 0.7947 MB / 0.6352 GB, free: 11.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.5612, allocations: 33.7 kB / 0.6352 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5612, allocations: 4 kB / 0.6352 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.5616, allocations: 124.7 kB / 0.6353 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.5622, allocations: 135.9 kB / 0.6355 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005925/0.5628, allocations: 0.6695 MB / 0.6361 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.5634, allocations: 47.89 kB / 0.6362 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.5634, allocations: 44 kB / 0.6362 GB, free: 10.32 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.0002831/0.5637, allocations: 201.8 kB / 0.6364 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.5638, allocations: 47.44 kB / 0.6364 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.5658, allocations: 0.7386 MB / 0.6372 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5658, allocations: 8 kB / 0.6372 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5659, allocations: 4 kB / 0.6372 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5659, allocations: 0 / 0.6372 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.5684, allocations: 1.284 MB / 0.6384 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5684, allocations: 4.156 kB / 0.6384 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.5689, allocations: 107.8 kB / 0.6385 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005633/0.5695, allocations: 104.8 kB / 0.6386 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.5696, allocations: 19.94 kB / 0.6386 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.5713, allocations: 1.817 MB / 0.6404 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5713, allocations: 4.031 kB / 0.6404 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.5736, allocations: 0.9773 MB / 0.6414 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.5738, allocations: 164.5 kB / 0.6415 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/0.5739, allocations: 16 kB / 0.6415 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.5744, allocations: 43.95 kB / 0.6416 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.5746, allocations: 55.92 kB / 0.6416 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.5747, allocations: 31.98 kB / 0.6417 GB, free: 4.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.575, allocations: 275.1 kB / 0.6419 GB, free: 4.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.575, allocations: 0 / 0.6419 GB, free: 4.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008297/0.5758, allocations: 235.9 kB / 0.6422 GB, free: 3.918 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.0008471/0.5767, allocations: 304.7 kB / 0.6425 GB, free: 3.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.5784, allocations: 0.6372 MB / 0.6431 GB, free: 2.973 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5784, allocations: 1.062 kB / 0.6431 GB, free: 2.973 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.5792, allocations: 414.3 kB / 0.6435 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5804, allocations: 207.7 kB / 0.6437 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.5825, allocations: 1.18 MB / 0.6448 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.583, allocations: 0.8629 MB / 0.6457 GB, free: 240 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.5833, allocations: 83.41 kB / 0.6457 GB, free: 156 kB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5833, allocations: 0 / 0.6457 GB, free: 156 kB / 478.1 MB Notification: Performance of Templates: time 0.01701/0.6003, allocations: 11.61 MB / 0.6571 GB, free: 4.586 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