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.00161/0.00161, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.468/2.468, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 46.1 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 75.56 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1806, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5276/0.7083, allocations: 161.4 MB / 0.6263 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.7127, allocations: 1.759 MB / 0.628 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.7138, allocations: 19.81 kB / 0.628 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7149, allocations: 182.9 kB / 0.6282 GB, free: 404 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.718, allocations: 0.6906 MB / 0.6289 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.7204, allocations: 0.5823 MB / 0.6295 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.7228, allocations: 1.607 MB / 0.631 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.7233, allocations: 293.3 kB / 0.6313 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.7243, allocations: 426.3 kB / 0.6317 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.7248, allocations: 386.5 kB / 0.6321 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.7249, allocations: 28 kB / 0.6321 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.7262, allocations: 499.2 kB / 0.6326 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.7264, allocations: 147.5 kB / 0.6327 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.7268, allocations: 254.7 kB / 0.633 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.7279, allocations: 0.7016 MB / 0.6336 GB, free: 10.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7279, allocations: 0 / 0.6336 GB, free: 10.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.7279, allocations: 0 / 0.6336 GB, free: 10.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.7279, allocations: 0 / 0.6336 GB, free: 10.82 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.002423/0.7304, allocations: 0.9023 MB / 0.6345 GB, free: 9.863 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.7304, allocations: 9.109 kB / 0.6345 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.7311, allocations: 72.02 kB / 0.6346 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.7321, allocations: 394.4 kB / 0.635 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.7322, allocations: 58.7 kB / 0.635 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7323, allocations: 39.94 kB / 0.6351 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.7338, allocations: 0.5205 MB / 0.6356 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.7338, allocations: 4 kB / 0.6356 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.7339, allocations: 20 kB / 0.6356 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.734, allocations: 16.64 kB / 0.6356 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.7352, allocations: 406.1 kB / 0.636 GB, free: 8.258 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.003787/0.739, allocations: 2.461 MB / 0.6384 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.7398, allocations: 343.4 kB / 0.6387 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.7402, allocations: 161.3 kB / 0.6389 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.7403, allocations: 12.22 kB / 0.6389 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006382/0.741, allocations: 272.8 kB / 0.6392 GB, free: 4.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.286e-06/0.741, allocations: 0 / 0.6392 GB, free: 4.816 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.01299/0.754, allocations: 3.235 MB / 0.6423 GB, free: 1.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.7541, allocations: 170.1 kB / 0.6425 GB, free: 1.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.7547, allocations: 385.6 kB / 0.6429 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.7547, allocations: 37.64 kB / 0.6429 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.7549, allocations: 255.9 kB / 0.6431 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.7551, allocations: 161.7 kB / 0.6433 GB, free: 412 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.7553, allocations: 126.2 kB / 0.6434 GB, free: 280 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.7555, allocations: 358.8 kB / 0.6438 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.7562, allocations: 213.1 kB / 0.644 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.757, allocations: 413.1 kB / 0.6443 GB, free: 15.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7584, allocations: 0.6406 MB / 0.645 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7584, allocations: 4 kB / 0.645 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002057/0.7604, allocations: 0.7869 MB / 0.6457 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.7605, allocations: 33.77 kB / 0.6458 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7605, allocations: 8 kB / 0.6458 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.7611, allocations: 116.8 kB / 0.6459 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.7617, allocations: 131.8 kB / 0.646 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006766/0.7624, allocations: 0.685 MB / 0.6467 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.763, allocations: 59.94 kB / 0.6468 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.763, allocations: 43.98 kB / 0.6468 GB, free: 12.6 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.0003333/0.7634, allocations: 202.9 kB / 0.647 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.7635, allocations: 47.44 kB / 0.647 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.7657, allocations: 0.7364 MB / 0.6478 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7657, allocations: 4 kB / 0.6478 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7657, allocations: 4 kB / 0.6478 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7657, allocations: 3.984 kB / 0.6478 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.7685, allocations: 1.276 MB / 0.649 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7685, allocations: 4.844 kB / 0.649 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.7691, allocations: 111.8 kB / 0.6491 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.7697, allocations: 100.7 kB / 0.6492 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.7698, allocations: 23.92 kB / 0.6492 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.7718, allocations: 1.691 MB / 0.6509 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7719, allocations: 3.938 kB / 0.6509 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.7744, allocations: 0.9737 MB / 0.6518 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.7747, allocations: 164.5 kB / 0.652 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.7748, allocations: 15.94 kB / 0.652 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.7753, allocations: 47.94 kB / 0.6521 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7755, allocations: 63.86 kB / 0.6521 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.7756, allocations: 35.98 kB / 0.6522 GB, free: 6.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.7759, allocations: 271.2 kB / 0.6524 GB, free: 6.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7759, allocations: 0 / 0.6524 GB, free: 6.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.7769, allocations: 235.9 kB / 0.6526 GB, free: 6.324 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.0009082/0.7778, allocations: 302.1 kB / 0.6529 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.7796, allocations: 0.6069 MB / 0.6535 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7796, allocations: 0 / 0.6535 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.7806, allocations: 407.6 kB / 0.6539 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.7818, allocations: 200.8 kB / 0.6541 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.7842, allocations: 1.359 MB / 0.6554 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.7847, allocations: 0.8591 MB / 0.6563 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.7851, allocations: 83.41 kB / 0.6563 GB, free: 2.43 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7851, allocations: 0 / 0.6563 GB, free: 2.43 MB / 494.1 MB Notification: Performance of Templates: time 0.0179/0.803, allocations: 11.66 MB / 0.6677 GB, free: 6.812 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/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