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.00107/0.00107, 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.001098/0.001098, 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.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.81 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1366, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4592/0.5959, allocations: 163.4 MB / 0.6297 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.5993, allocations: 1.674 MB / 0.6314 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.5999, allocations: 11.94 kB / 0.6314 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.6006, allocations: 214.5 kB / 0.6316 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.6028, allocations: 0.7791 MB / 0.6323 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.6045, allocations: 0.6765 MB / 0.633 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.606, allocations: 1.146 MB / 0.6341 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.6065, allocations: 331.5 kB / 0.6344 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.6074, allocations: 478.2 kB / 0.6349 GB, free: 9.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.608, allocations: 386.4 kB / 0.6353 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.6081, allocations: 44 kB / 0.6353 GB, free: 9.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.6092, allocations: 0.5695 MB / 0.6359 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.6094, allocations: 155.5 kB / 0.636 GB, free: 8.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.6098, allocations: 270.7 kB / 0.6363 GB, free: 8.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.6111, allocations: 0.9698 MB / 0.6372 GB, free: 7.586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6111, allocations: 0 / 0.6372 GB, free: 7.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6111, allocations: 4 kB / 0.6372 GB, free: 7.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.6112, allocations: 0 / 0.6372 GB, free: 7.582 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.001829/0.613, allocations: 0.9023 MB / 0.6381 GB, free: 6.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.613, allocations: 9.109 kB / 0.6381 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.6135, allocations: 75.31 kB / 0.6382 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.6141, allocations: 410.3 kB / 0.6386 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.6142, allocations: 62.69 kB / 0.6386 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.6143, allocations: 47.86 kB / 0.6387 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.6153, allocations: 0.5127 MB / 0.6392 GB, free: 5.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6153, allocations: 4 kB / 0.6392 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.6154, allocations: 19.98 kB / 0.6392 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.6155, allocations: 16.66 kB / 0.6392 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/0.6164, allocations: 406.1 kB / 0.6396 GB, free: 4.996 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.003129/0.6196, allocations: 2.458 MB / 0.642 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.6203, allocations: 343.4 kB / 0.6423 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.6207, allocations: 161.2 kB / 0.6425 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.6207, allocations: 12.22 kB / 0.6425 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.6213, allocations: 274.3 kB / 0.6428 GB, free: 1.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.6213, allocations: 0 / 0.6428 GB, free: 1.555 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.0111/0.6324, allocations: 3.244 MB / 0.6459 GB, free: 14.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.6325, allocations: 162.2 kB / 0.6461 GB, free: 13.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.6329, allocations: 385.6 kB / 0.6464 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.633, allocations: 37.7 kB / 0.6465 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6332, allocations: 251.9 kB / 0.6467 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6333, allocations: 161.8 kB / 0.6469 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.6335, allocations: 126.2 kB / 0.647 GB, free: 13.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6336, allocations: 354.8 kB / 0.6473 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.6342, allocations: 217.1 kB / 0.6475 GB, free: 12.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.6349, allocations: 413 kB / 0.6479 GB, free: 11.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.636, allocations: 0.6394 MB / 0.6486 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6361, allocations: 0 / 0.6486 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001684/0.6377, allocations: 0.7902 MB / 0.6493 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.6378, allocations: 42.34 kB / 0.6494 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6378, allocations: 8.875 kB / 0.6494 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.6382, allocations: 112.8 kB / 0.6495 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.6388, allocations: 135.8 kB / 0.6496 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005665/0.6394, allocations: 0.6849 MB / 0.6503 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.6398, allocations: 51.95 kB / 0.6503 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.6399, allocations: 43.98 kB / 0.6504 GB, free: 9.336 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.0002523/0.6402, allocations: 203.8 kB / 0.6506 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.6402, allocations: 47.44 kB / 0.6506 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.642, allocations: 0.7407 MB / 0.6513 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.642, allocations: 4 kB / 0.6513 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.642, allocations: 0 / 0.6513 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.642, allocations: 3.984 kB / 0.6513 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.6444, allocations: 1.276 MB / 0.6526 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.6444, allocations: 4 kB / 0.6526 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.6449, allocations: 107.8 kB / 0.6527 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.6454, allocations: 104.9 kB / 0.6528 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.6455, allocations: 19.92 kB / 0.6528 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.6472, allocations: 1.826 MB / 0.6546 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6472, allocations: 4.031 kB / 0.6546 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.6493, allocations: 0.971 MB / 0.6556 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.6496, allocations: 164.5 kB / 0.6557 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.6497, allocations: 12 kB / 0.6557 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.6501, allocations: 39.95 kB / 0.6558 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6503, allocations: 63.86 kB / 0.6558 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.6503, allocations: 35.98 kB / 0.6559 GB, free: 3.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.6506, allocations: 275.1 kB / 0.6561 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6507, allocations: 4 kB / 0.6561 GB, free: 3.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007899/0.6514, allocations: 231.9 kB / 0.6563 GB, free: 2.938 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.0007614/0.6522, allocations: 297.7 kB / 0.6566 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.6537, allocations: 0.6147 MB / 0.6572 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.6537, allocations: 0 / 0.6572 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.6545, allocations: 407.1 kB / 0.6576 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.6555, allocations: 212.1 kB / 0.6578 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6575, allocations: 1.138 MB / 0.6589 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6578, allocations: 0.8591 MB / 0.6598 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005071/0.6584, allocations: 160.6 kB / 0.6599 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.6586, allocations: 67.42 kB / 0.66 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.011e-06/0.6586, allocations: 0 / 0.66 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.02082/0.6794, allocations: 13.29 MB / 0.673 GB, free: 1.895 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 cvode -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