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.001085/0.001085, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 86.73 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 62.44 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4095/0.5403, allocations: 163.4 MB / 0.6283 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.5438, allocations: 1.665 MB / 0.63 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/0.5445, allocations: 19.88 kB / 0.63 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.5453, allocations: 210.6 kB / 0.6302 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.5478, allocations: 0.7753 MB / 0.6309 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.5498, allocations: 0.6875 MB / 0.6316 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.5515, allocations: 1.139 MB / 0.6327 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.5522, allocations: 321.9 kB / 0.633 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.5532, allocations: 478.3 kB / 0.6335 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.5539, allocations: 386.4 kB / 0.6338 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.554, allocations: 44 kB / 0.6339 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.5552, allocations: 0.5227 MB / 0.6344 GB, free: 9.633 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.5555, allocations: 155.5 kB / 0.6346 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.5558, allocations: 266.7 kB / 0.6348 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5574, allocations: 0.9621 MB / 0.6357 GB, free: 8.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5574, allocations: 0 / 0.6357 GB, free: 8.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5574, allocations: 4 kB / 0.6357 GB, free: 8.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.5574, allocations: 0 / 0.6357 GB, free: 8.25 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.002032/0.5595, allocations: 0.9061 MB / 0.6366 GB, free: 7.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5595, allocations: 9.109 kB / 0.6366 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/0.56, allocations: 75.33 kB / 0.6367 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.5607, allocations: 398.3 kB / 0.6371 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.872e-05/0.5608, allocations: 58.7 kB / 0.6371 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.5609, allocations: 35.94 kB / 0.6372 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5619, allocations: 0.5205 MB / 0.6377 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5619, allocations: 0 / 0.6377 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.562, allocations: 27.92 kB / 0.6377 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.562, allocations: 12.66 kB / 0.6377 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.563, allocations: 414.1 kB / 0.6381 GB, free: 5.672 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.003644/0.5667, allocations: 2.463 MB / 0.6405 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.5675, allocations: 339.4 kB / 0.6409 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.5679, allocations: 165.3 kB / 0.641 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.568, allocations: 8.219 kB / 0.641 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/0.5686, allocations: 268.7 kB / 0.6413 GB, free: 2.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.5686, allocations: 0 / 0.6413 GB, free: 2.234 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.01309/0.5817, allocations: 3.248 MB / 0.6444 GB, free: 14.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5819, allocations: 166.2 kB / 0.6446 GB, free: 14.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.5824, allocations: 381.6 kB / 0.645 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.5825, allocations: 41.7 kB / 0.645 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5827, allocations: 259.9 kB / 0.6453 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.5829, allocations: 157.7 kB / 0.6454 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.5831, allocations: 126.2 kB / 0.6455 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5833, allocations: 358.8 kB / 0.6459 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.584, allocations: 225.1 kB / 0.6461 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.5848, allocations: 402 kB / 0.6465 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5862, allocations: 0.6394 MB / 0.6471 GB, free: 11.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5862, allocations: 4 kB / 0.6471 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00195/0.5881, allocations: 0.7907 MB / 0.6479 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.5882, allocations: 33.7 kB / 0.6479 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5882, allocations: 8 kB / 0.6479 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.5887, allocations: 112.8 kB / 0.648 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.5893, allocations: 143.9 kB / 0.6482 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/0.5899, allocations: 0.6811 MB / 0.6488 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.5905, allocations: 47.95 kB / 0.6489 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.5906, allocations: 51.98 kB / 0.6489 GB, free: 10 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.0003344/0.5909, allocations: 200.1 kB / 0.6491 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5911, allocations: 47.44 kB / 0.6492 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.5932, allocations: 0.7289 MB / 0.6499 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5932, allocations: 8 kB / 0.6499 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5932, allocations: 0 / 0.6499 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.5932, allocations: 7.984 kB / 0.6499 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.596, allocations: 1.276 MB / 0.6511 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.596, allocations: 7.938 kB / 0.6511 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.5965, allocations: 107.8 kB / 0.6512 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005658/0.5971, allocations: 104.8 kB / 0.6513 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.5971, allocations: 27.92 kB / 0.6514 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.5991, allocations: 1.809 MB / 0.6531 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5991, allocations: 0 / 0.6531 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.6015, allocations: 0.9736 MB / 0.6541 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6017, allocations: 156.5 kB / 0.6542 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.6018, allocations: 23.98 kB / 0.6543 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.6023, allocations: 39.95 kB / 0.6543 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.6025, allocations: 63.8 kB / 0.6543 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.6026, allocations: 35.98 kB / 0.6544 GB, free: 4.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.6029, allocations: 271.2 kB / 0.6546 GB, free: 3.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6029, allocations: 0 / 0.6546 GB, free: 3.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008443/0.6037, allocations: 239.9 kB / 0.6549 GB, free: 3.609 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.0008669/0.6046, allocations: 304.3 kB / 0.6552 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.6064, allocations: 0.642 MB / 0.6558 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6064, allocations: 0 / 0.6558 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.6073, allocations: 411.1 kB / 0.6562 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6085, allocations: 208.1 kB / 0.6564 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.6106, allocations: 1.159 MB / 0.6575 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.6111, allocations: 0.8514 MB / 0.6583 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006629/0.6118, allocations: 152.5 kB / 0.6585 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.612, allocations: 75.42 kB / 0.6586 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/0.612, allocations: 0 / 0.6586 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.02269/0.6347, allocations: 13.29 MB / 0.6715 GB, free: 2.527 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 -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/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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches