Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 62.43 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3996/0.5197, allocations: 163.4 MB / 0.6297 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.5233, allocations: 1.669 MB / 0.6314 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.5237, allocations: 11.94 kB / 0.6314 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.5244, allocations: 210.6 kB / 0.6316 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.5263, allocations: 0.7751 MB / 0.6323 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5281, allocations: 0.6732 MB / 0.633 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.5294, allocations: 1.154 MB / 0.6341 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.5298, allocations: 325.9 kB / 0.6344 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007559/0.5306, allocations: 478.3 kB / 0.6349 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.5311, allocations: 382.4 kB / 0.6353 GB, free: 9.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.167e-05/0.5312, allocations: 48 kB / 0.6353 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.5322, allocations: 0.5734 MB / 0.6359 GB, free: 9.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.5324, allocations: 155.5 kB / 0.636 GB, free: 9.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.5327, allocations: 266.7 kB / 0.6363 GB, free: 8.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.5339, allocations: 0.966 MB / 0.6372 GB, free: 7.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5339, allocations: 0 / 0.6372 GB, free: 7.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5339, allocations: 4 kB / 0.6372 GB, free: 7.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.534, allocations: 3.938 kB / 0.6372 GB, free: 7.785 MB / 478.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.00164/0.5356, allocations: 0.8984 MB / 0.6381 GB, free: 6.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5357, allocations: 13.09 kB / 0.6381 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.536, allocations: 75.27 kB / 0.6382 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.5367, allocations: 414.3 kB / 0.6386 GB, free: 6.297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.5368, allocations: 62.69 kB / 0.6386 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.5369, allocations: 43.94 kB / 0.6387 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.5378, allocations: 0.5205 MB / 0.6392 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5378, allocations: 0 / 0.6392 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.5379, allocations: 16 kB / 0.6392 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.5379, allocations: 16.66 kB / 0.6392 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.5387, allocations: 402.1 kB / 0.6396 GB, free: 5.203 MB / 478.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.003026/0.5418, allocations: 2.47 MB / 0.642 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.5425, allocations: 343.4 kB / 0.6423 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.5429, allocations: 153.3 kB / 0.6425 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.5429, allocations: 8.219 kB / 0.6425 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.5434, allocations: 279.2 kB / 0.6428 GB, free: 1.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.5435, allocations: 0 / 0.6428 GB, free: 1.758 MB / 478.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.01136/0.5548, allocations: 3.237 MB / 0.6459 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.555, allocations: 166.2 kB / 0.6461 GB, free: 14.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.5555, allocations: 385.6 kB / 0.6464 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.5556, allocations: 37.7 kB / 0.6465 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.5558, allocations: 252 kB / 0.6467 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.5559, allocations: 161.7 kB / 0.6469 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.5561, allocations: 130.2 kB / 0.647 GB, free: 13.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5563, allocations: 350.8 kB / 0.6473 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.5568, allocations: 225.1 kB / 0.6475 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.5575, allocations: 409.1 kB / 0.6479 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5587, allocations: 0.6394 MB / 0.6486 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5588, allocations: 0 / 0.6486 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001743/0.5605, allocations: 0.7904 MB / 0.6493 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.5606, allocations: 33.7 kB / 0.6494 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5606, allocations: 7.938 kB / 0.6494 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.561, allocations: 114.1 kB / 0.6495 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.5616, allocations: 143.8 kB / 0.6496 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005884/0.5622, allocations: 0.6772 MB / 0.6503 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.5627, allocations: 51.95 kB / 0.6503 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.5628, allocations: 44.05 kB / 0.6504 GB, free: 9.547 MB / 494.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.0002849/0.5631, allocations: 196.8 kB / 0.6506 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.5632, allocations: 55.42 kB / 0.6506 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5649, allocations: 0.7413 MB / 0.6513 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.5649, allocations: 4 kB / 0.6513 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.565, allocations: 0 / 0.6513 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.565, allocations: 3.984 kB / 0.6513 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.5673, allocations: 1.273 MB / 0.6526 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5674, allocations: 8.141 kB / 0.6526 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.5678, allocations: 111.8 kB / 0.6527 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/0.5684, allocations: 96.77 kB / 0.6528 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.5685, allocations: 19.92 kB / 0.6528 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.5703, allocations: 1.818 MB / 0.6546 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.5703, allocations: 4.031 kB / 0.6546 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.5724, allocations: 0.9749 MB / 0.6555 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.5727, allocations: 168.5 kB / 0.6557 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.5729, allocations: 8 kB / 0.6557 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.5733, allocations: 47.89 kB / 0.6558 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5735, allocations: 60.02 kB / 0.6558 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.5735, allocations: 39.97 kB / 0.6559 GB, free: 3.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.5739, allocations: 275.1 kB / 0.6561 GB, free: 3.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5739, allocations: 0 / 0.6561 GB, free: 3.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.5747, allocations: 231.9 kB / 0.6563 GB, free: 3.148 MB / 494.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.0008229/0.5755, allocations: 300.7 kB / 0.6566 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.577, allocations: 0.6147 MB / 0.6572 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.577, allocations: 3.938 kB / 0.6572 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.5779, allocations: 419 kB / 0.6576 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5789, allocations: 211.3 kB / 0.6578 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.581, allocations: 1.136 MB / 0.6589 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.5815, allocations: 0.8553 MB / 0.6598 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.582, allocations: 156.5 kB / 0.6599 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5822, allocations: 71.42 kB / 0.66 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.5822, allocations: 0 / 0.66 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.02219/0.6044, allocations: 13.27 MB / 0.6729 GB, free: 2.117 MB / 0.4981 GB 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 -s gbode -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/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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches