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.001118/0.001118, allocations: 96.84 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 206.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.7 MB / 246.8 MB, free: 9.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.18 MB / 345.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4124/0.5379, allocations: 159.3 MB / 0.6273 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.5437, allocations: 1.744 MB / 0.6291 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.5446, allocations: 15.88 kB / 0.6291 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009998/0.5456, allocations: 175 kB / 0.6292 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.5494, allocations: 0.6909 MB / 0.6299 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.5526, allocations: 0.5865 MB / 0.6305 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.5558, allocations: 1.607 MB / 0.632 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/0.5567, allocations: 285.2 kB / 0.6323 GB, free: 236 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.5585, allocations: 418.4 kB / 0.6327 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5595, allocations: 386.2 kB / 0.6331 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.5597, allocations: 27.98 kB / 0.6331 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.5617, allocations: 0.491 MB / 0.6336 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.5621, allocations: 139.5 kB / 0.6337 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.5627, allocations: 280.4 kB / 0.634 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.5652, allocations: 0.9269 MB / 0.6349 GB, free: 13.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5652, allocations: 7.938 kB / 0.6349 GB, free: 13.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5652, allocations: 0 / 0.6349 GB, free: 13.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.5653, allocations: 0 / 0.6349 GB, free: 13.57 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.002765/0.568, allocations: 0.8153 MB / 0.6357 GB, free: 12.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.5681, allocations: 13.11 kB / 0.6357 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.5689, allocations: 75.33 kB / 0.6358 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.5699, allocations: 394.4 kB / 0.6362 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.5701, allocations: 50.7 kB / 0.6362 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.5702, allocations: 39.94 kB / 0.6363 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.572, allocations: 0.5478 MB / 0.6368 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.5721, allocations: 0 / 0.6368 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.5722, allocations: 12 kB / 0.6368 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.5723, allocations: 24.64 kB / 0.6368 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.5741, allocations: 426.1 kB / 0.6372 GB, free: 11.05 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.006193/0.5804, allocations: 2.489 MB / 0.6397 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.582, allocations: 367.4 kB / 0.64 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.5828, allocations: 173.3 kB / 0.6402 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.5829, allocations: 12.2 kB / 0.6402 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.584, allocations: 280.8 kB / 0.6405 GB, free: 7.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.998e-06/0.5841, allocations: 0 / 0.6405 GB, free: 7.547 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.024/0.6081, allocations: 3.608 MB / 0.644 GB, free: 3.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.6083, allocations: 170.1 kB / 0.6441 GB, free: 3.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.6091, allocations: 377.6 kB / 0.6445 GB, free: 3.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.6093, allocations: 49.62 kB / 0.6445 GB, free: 3.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.6096, allocations: 252 kB / 0.6448 GB, free: 2.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.6099, allocations: 161.7 kB / 0.6449 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.6101, allocations: 53.69 kB / 0.645 GB, free: 2.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.6103, allocations: 358.8 kB / 0.6453 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.6117, allocations: 241.2 kB / 0.6456 GB, free: 2.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.6132, allocations: 437 kB / 0.646 GB, free: 1.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.6159, allocations: 0.6863 MB / 0.6467 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.616, allocations: 0 / 0.6467 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003535/0.6195, allocations: 0.8415 MB / 0.6475 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.6196, allocations: 35.73 kB / 0.6475 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6196, allocations: 4 kB / 0.6475 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.6204, allocations: 120.7 kB / 0.6476 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.6213, allocations: 155.9 kB / 0.6478 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009136/0.6223, allocations: 0.6715 MB / 0.6484 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/0.6232, allocations: 76 kB / 0.6485 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.6233, allocations: 43.98 kB / 0.6485 GB, free: 14.85 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.0004381/0.6237, allocations: 197.6 kB / 0.6487 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6239, allocations: 47.44 kB / 0.6488 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.6268, allocations: 0.7884 MB / 0.6495 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.6268, allocations: 7.938 kB / 0.6496 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6269, allocations: 0 / 0.6496 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6269, allocations: 3.984 kB / 0.6496 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.6302, allocations: 1.328 MB / 0.6509 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6302, allocations: 0 / 0.6509 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.6307, allocations: 124 kB / 0.651 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.6314, allocations: 100.8 kB / 0.6511 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.6314, allocations: 23.92 kB / 0.6511 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.6335, allocations: 1.703 MB / 0.6528 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6335, allocations: 0 / 0.6528 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.636, allocations: 1.044 MB / 0.6538 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.6363, allocations: 172.4 kB / 0.6539 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.6364, allocations: 15.94 kB / 0.654 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.637, allocations: 59.94 kB / 0.654 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.6372, allocations: 63.86 kB / 0.6541 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.6373, allocations: 35.98 kB / 0.6541 GB, free: 8.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003363/0.6376, allocations: 275.1 kB / 0.6544 GB, free: 8.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6376, allocations: 4 kB / 0.6544 GB, free: 8.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009531/0.6386, allocations: 228 kB / 0.6546 GB, free: 8.363 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.0008735/0.6395, allocations: 294.4 kB / 0.6549 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.6412, allocations: 0.6538 MB / 0.6555 GB, free: 7.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.6412, allocations: 4 kB / 0.6555 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.6422, allocations: 431.6 kB / 0.6559 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6435, allocations: 216.9 kB / 0.6561 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.6458, allocations: 1.436 MB / 0.6575 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.6462, allocations: 0.8553 MB / 0.6584 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007676/0.647, allocations: 156.1 kB / 0.6585 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.6473, allocations: 71.42 kB / 0.6586 GB, free: 4.18 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.6473, allocations: 0 / 0.6586 GB, free: 4.18 MB / 494.1 MB Notification: Performance of Templates: time 0.02227/0.6696, allocations: 12.61 MB / 0.6709 GB, free: 7.648 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