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.001134/0.001134, 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.001264/0.001265, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, 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.219/0.219, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 77.97 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, 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.4238/0.5598, allocations: 163.4 MB / 0.6283 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.5637, allocations: 1.662 MB / 0.63 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.5643, allocations: 19.88 kB / 0.63 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.5653, allocations: 206.6 kB / 0.6302 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.5689, allocations: 0.7755 MB / 0.6309 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.5711, allocations: 0.6828 MB / 0.6316 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.5728, allocations: 1.143 MB / 0.6327 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.5734, allocations: 333.9 kB / 0.633 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5745, allocations: 470.3 kB / 0.6335 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.5751, allocations: 390.4 kB / 0.6338 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.5752, allocations: 44 kB / 0.6339 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.5766, allocations: 0.5227 MB / 0.6344 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.5768, allocations: 155.5 kB / 0.6345 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.5772, allocations: 274.7 kB / 0.6348 GB, free: 9.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5785, allocations: 0.9622 MB / 0.6357 GB, free: 8.262 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5785, allocations: 0 / 0.6357 GB, free: 8.262 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5786, allocations: 0 / 0.6357 GB, free: 8.262 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.5786, allocations: 0 / 0.6357 GB, free: 8.262 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.002232/0.5808, allocations: 0.9061 MB / 0.6366 GB, free: 7.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.5809, allocations: 9.109 kB / 0.6366 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.5814, allocations: 74.89 kB / 0.6367 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.5821, allocations: 398.3 kB / 0.6371 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/0.5822, allocations: 58.7 kB / 0.6371 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.5823, allocations: 39.94 kB / 0.6372 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5834, allocations: 0.5205 MB / 0.6377 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5835, allocations: 0 / 0.6377 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.5836, allocations: 24 kB / 0.6377 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.5836, allocations: 12.66 kB / 0.6377 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.5846, allocations: 410.1 kB / 0.6381 GB, free: 5.691 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.003563/0.5882, allocations: 2.465 MB / 0.6405 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.589, allocations: 341.9 kB / 0.6409 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.5894, allocations: 157.3 kB / 0.641 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.5894, allocations: 16.22 kB / 0.641 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.59, allocations: 264.7 kB / 0.6413 GB, free: 2.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.59, allocations: 0 / 0.6413 GB, free: 2.254 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.01212/0.6021, allocations: 3.253 MB / 0.6445 GB, free: 14.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.6022, allocations: 166.2 kB / 0.6446 GB, free: 14.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.6027, allocations: 381.6 kB / 0.645 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.6027, allocations: 41.69 kB / 0.645 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.6029, allocations: 255.9 kB / 0.6453 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6031, allocations: 161.7 kB / 0.6454 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.6032, allocations: 122.2 kB / 0.6455 GB, free: 13.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6034, allocations: 358.8 kB / 0.6459 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.604, allocations: 229 kB / 0.6461 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.6048, allocations: 397.1 kB / 0.6465 GB, free: 12.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6061, allocations: 0.6433 MB / 0.6471 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6061, allocations: 4 kB / 0.6471 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001862/0.608, allocations: 0.7866 MB / 0.6479 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.6081, allocations: 41.64 kB / 0.6479 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.6081, allocations: 8.875 kB / 0.6479 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.6085, allocations: 109.1 kB / 0.648 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.6091, allocations: 143.8 kB / 0.6482 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005843/0.6097, allocations: 0.6771 MB / 0.6488 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6102, allocations: 47.95 kB / 0.6489 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.6102, allocations: 48.06 kB / 0.6489 GB, free: 10.02 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.0002723/0.6105, allocations: 200 kB / 0.6491 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6106, allocations: 47.44 kB / 0.6491 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.6127, allocations: 0.7425 MB / 0.6499 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6128, allocations: 4 kB / 0.6499 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6128, allocations: 0 / 0.6499 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6128, allocations: 4 kB / 0.6499 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.6156, allocations: 1.28 MB / 0.6511 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6156, allocations: 0 / 0.6511 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.6161, allocations: 111.8 kB / 0.6512 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.6166, allocations: 100.9 kB / 0.6513 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.6167, allocations: 23.92 kB / 0.6514 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.6187, allocations: 1.817 MB / 0.6531 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6187, allocations: 0 / 0.6531 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.6211, allocations: 0.9815 MB / 0.6541 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.6213, allocations: 156.5 kB / 0.6542 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6214, allocations: 12 kB / 0.6542 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.622, allocations: 43.94 kB / 0.6543 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6222, allocations: 63.86 kB / 0.6543 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.6222, allocations: 35.98 kB / 0.6544 GB, free: 4.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003465/0.6226, allocations: 279.1 kB / 0.6547 GB, free: 3.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6226, allocations: 0 / 0.6547 GB, free: 3.852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009093/0.6235, allocations: 235.9 kB / 0.6549 GB, free: 3.621 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.001019/0.6245, allocations: 297.6 kB / 0.6552 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.6263, allocations: 0.6381 MB / 0.6558 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6263, allocations: 0 / 0.6558 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.6272, allocations: 410.8 kB / 0.6562 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6284, allocations: 215.5 kB / 0.6564 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.6306, allocations: 1.151 MB / 0.6575 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.6311, allocations: 0.8514 MB / 0.6583 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007253/0.6319, allocations: 152.6 kB / 0.6585 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.6321, allocations: 75.42 kB / 0.6586 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.6321, allocations: 0 / 0.6586 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.02622/0.6584, allocations: 13.3 MB / 0.6715 GB, free: 2.539 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