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.0009027/0.0009026, allocations: 95.94 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.001017/0.001017, allocations: 206.2 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.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4848/0.6205, allocations: 159.3 MB / 0.6274 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.6248, allocations: 1.736 MB / 0.6291 GB, free: 3.539 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.6258, allocations: 15.88 kB / 0.6291 GB, free: 3.523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.6268, allocations: 179 kB / 0.6292 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.63, allocations: 0.6875 MB / 0.6299 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.6325, allocations: 0.5855 MB / 0.6305 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.6348, allocations: 1.603 MB / 0.6321 GB, free: 488 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.6355, allocations: 289.2 kB / 0.6323 GB, free: 196 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.637, allocations: 410.5 kB / 0.6327 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.6377, allocations: 398.3 kB / 0.6331 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.6378, allocations: 23.94 kB / 0.6331 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.6391, allocations: 0.4913 MB / 0.6336 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.6393, allocations: 143.5 kB / 0.6337 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.6397, allocations: 272.4 kB / 0.634 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.641, allocations: 0.9308 MB / 0.6349 GB, free: 13.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.641, allocations: 4 kB / 0.6349 GB, free: 13.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.641, allocations: 0 / 0.6349 GB, free: 13.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.641, allocations: 0 / 0.6349 GB, free: 13.53 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.001768/0.6428, allocations: 0.8128 MB / 0.6357 GB, free: 12.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.6429, allocations: 13.11 kB / 0.6357 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.6433, allocations: 71.33 kB / 0.6358 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.644, allocations: 394.4 kB / 0.6362 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.6441, allocations: 58.69 kB / 0.6362 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.6442, allocations: 43.88 kB / 0.6363 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6452, allocations: 0.5361 MB / 0.6368 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6452, allocations: 0 / 0.6368 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.6453, allocations: 16 kB / 0.6368 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.6453, allocations: 16.66 kB / 0.6368 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.6463, allocations: 430.1 kB / 0.6372 GB, free: 11.02 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.003333/0.6496, allocations: 2.49 MB / 0.6397 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.6505, allocations: 365.6 kB / 0.64 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.6509, allocations: 173.3 kB / 0.6402 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.651, allocations: 12.2 kB / 0.6402 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/0.6516, allocations: 284.8 kB / 0.6405 GB, free: 7.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.6516, allocations: 0 / 0.6405 GB, free: 7.508 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.01315/0.6648, allocations: 3.611 MB / 0.644 GB, free: 3.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.665, allocations: 166.2 kB / 0.6441 GB, free: 3.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.6655, allocations: 381.6 kB / 0.6445 GB, free: 3.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.6656, allocations: 33.7 kB / 0.6445 GB, free: 3.141 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.6659, allocations: 263.9 kB / 0.6448 GB, free: 2.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6661, allocations: 165.7 kB / 0.6449 GB, free: 2.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.6662, allocations: 49.69 kB / 0.645 GB, free: 2.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.6664, allocations: 358.8 kB / 0.6453 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.6671, allocations: 245.1 kB / 0.6456 GB, free: 2.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.6679, allocations: 437 kB / 0.646 GB, free: 1.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.6695, allocations: 0.6862 MB / 0.6467 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6695, allocations: 0 / 0.6467 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00218/0.6717, allocations: 0.8416 MB / 0.6475 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.6718, allocations: 37.73 kB / 0.6475 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6718, allocations: 4 kB / 0.6475 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/0.6723, allocations: 116.8 kB / 0.6476 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.6729, allocations: 151.8 kB / 0.6478 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000645/0.6735, allocations: 0.6694 MB / 0.6484 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.6741, allocations: 76 kB / 0.6485 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.6742, allocations: 47.98 kB / 0.6485 GB, free: 14.81 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.000325/0.6746, allocations: 193.6 kB / 0.6487 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.6746, allocations: 47.44 kB / 0.6488 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.6768, allocations: 0.7966 MB / 0.6495 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6769, allocations: 4 kB / 0.6496 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6769, allocations: 0 / 0.6496 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6769, allocations: 3.984 kB / 0.6496 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.6795, allocations: 1.327 MB / 0.6509 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6796, allocations: 0 / 0.6509 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.6801, allocations: 120 kB / 0.651 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/0.6808, allocations: 104.7 kB / 0.6511 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.6808, allocations: 23.88 kB / 0.6511 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.6827, allocations: 1.699 MB / 0.6527 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6828, allocations: 4.062 kB / 0.6528 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.6853, allocations: 1.04 MB / 0.6538 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.6855, allocations: 168.5 kB / 0.6539 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.6856, allocations: 15.94 kB / 0.6539 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.6861, allocations: 67.88 kB / 0.654 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.6863, allocations: 63.84 kB / 0.6541 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.6864, allocations: 32 kB / 0.6541 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.6867, allocations: 275.1 kB / 0.6544 GB, free: 8.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6867, allocations: 0 / 0.6544 GB, free: 8.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009185/0.6876, allocations: 232 kB / 0.6546 GB, free: 8.328 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.0008918/0.6885, allocations: 305.4 kB / 0.6549 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.6903, allocations: 0.6538 MB / 0.6555 GB, free: 7.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6903, allocations: 4 kB / 0.6555 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009256/0.6912, allocations: 435.6 kB / 0.6559 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6924, allocations: 197.6 kB / 0.6561 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.6948, allocations: 1.451 MB / 0.6575 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.6954, allocations: 0.8514 MB / 0.6584 GB, free: 4.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006703/0.6961, allocations: 152.5 kB / 0.6585 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.6963, allocations: 75.42 kB / 0.6586 GB, free: 4.137 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6963, allocations: 0 / 0.6586 GB, free: 4.137 MB / 494.1 MB Notification: Performance of Templates: time 0.02323/0.7196, allocations: 12.6 MB / 0.6709 GB, free: 7.613 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