Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001092, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.8 MB / 246.9 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.2 MB / 345.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002956, allocations: 12 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 63.57 MB / 483.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4033/0.537, allocations: 159.3 MB / 0.6274 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.5406, allocations: 1.739 MB / 0.6291 GB, free: 3.484 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.5411, allocations: 15.88 kB / 0.6291 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.5417, allocations: 179 kB / 0.6293 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.5437, allocations: 0.692 MB / 0.63 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.5452, allocations: 0.5828 MB / 0.6306 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.5471, allocations: 1.603 MB / 0.6321 GB, free: 432 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.5476, allocations: 289.2 kB / 0.6324 GB, free: 140 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/0.5484, allocations: 418.3 kB / 0.6328 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.5489, allocations: 394.4 kB / 0.6332 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.549, allocations: 24 kB / 0.6332 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.55, allocations: 499.2 kB / 0.6337 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.5502, allocations: 135.6 kB / 0.6338 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.5505, allocations: 280.4 kB / 0.6341 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.5518, allocations: 0.927 MB / 0.635 GB, free: 13.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5518, allocations: 4 kB / 0.635 GB, free: 13.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5518, allocations: 0 / 0.635 GB, free: 13.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5518, allocations: 0 / 0.635 GB, free: 13.48 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.001852/0.5537, allocations: 0.8167 MB / 0.6358 GB, free: 12.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.5537, allocations: 9.109 kB / 0.6358 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.5542, allocations: 71.33 kB / 0.6359 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.5548, allocations: 398.3 kB / 0.6362 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.5549, allocations: 58.69 kB / 0.6363 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.555, allocations: 51.86 kB / 0.6363 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.556, allocations: 0.5283 MB / 0.6369 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.556, allocations: 3.938 kB / 0.6369 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.5561, allocations: 16 kB / 0.6369 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.5561, allocations: 20.66 kB / 0.6369 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5572, allocations: 426.2 kB / 0.6373 GB, free: 10.96 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.003596/0.5608, allocations: 2.493 MB / 0.6397 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.5617, allocations: 363.4 kB / 0.6401 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.5621, allocations: 181.2 kB / 0.6403 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.5622, allocations: 8.219 kB / 0.6403 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.5629, allocations: 280.8 kB / 0.6405 GB, free: 7.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.5629, allocations: 0 / 0.6405 GB, free: 7.445 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.01352/0.5764, allocations: 3.621 MB / 0.6441 GB, free: 3.691 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.5766, allocations: 170.1 kB / 0.6442 GB, free: 3.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.5771, allocations: 381.6 kB / 0.6446 GB, free: 3.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.5771, allocations: 33.7 kB / 0.6446 GB, free: 3.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.5774, allocations: 259.9 kB / 0.6449 GB, free: 2.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.5775, allocations: 157.8 kB / 0.645 GB, free: 2.652 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.5776, allocations: 49.69 kB / 0.6451 GB, free: 2.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5778, allocations: 358.8 kB / 0.6454 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.5785, allocations: 249.1 kB / 0.6456 GB, free: 1.996 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.5793, allocations: 437 kB / 0.6461 GB, free: 1.492 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.5809, allocations: 0.6786 MB / 0.6467 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5809, allocations: 0 / 0.6467 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002139/0.583, allocations: 0.8417 MB / 0.6475 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.5831, allocations: 33.7 kB / 0.6476 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5831, allocations: 7.938 kB / 0.6476 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.5836, allocations: 125.4 kB / 0.6477 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.5842, allocations: 147.8 kB / 0.6478 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006952/0.5849, allocations: 0.6811 MB / 0.6485 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.5855, allocations: 64.02 kB / 0.6486 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.5856, allocations: 52.8 kB / 0.6486 GB, free: 14.75 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.0003026/0.5859, allocations: 189.6 kB / 0.6488 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.5859, allocations: 51.42 kB / 0.6489 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.5882, allocations: 0.7837 MB / 0.6496 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5882, allocations: 7.938 kB / 0.6496 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5882, allocations: 0 / 0.6496 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5883, allocations: 7.984 kB / 0.6496 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.5911, allocations: 1.335 MB / 0.6509 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5911, allocations: 0 / 0.6509 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.5916, allocations: 115.9 kB / 0.6511 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/0.5922, allocations: 104.8 kB / 0.6512 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.5923, allocations: 19.94 kB / 0.6512 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.5943, allocations: 1.695 MB / 0.6528 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.5943, allocations: 7.984 kB / 0.6528 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.5969, allocations: 1.044 MB / 0.6539 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.5972, allocations: 168.5 kB / 0.654 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.5973, allocations: 23.92 kB / 0.654 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.5978, allocations: 55.95 kB / 0.6541 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.598, allocations: 63.91 kB / 0.6541 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.5981, allocations: 35.98 kB / 0.6542 GB, free: 8.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.5985, allocations: 271.2 kB / 0.6544 GB, free: 8.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5985, allocations: 0 / 0.6544 GB, free: 8.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.5994, allocations: 228 kB / 0.6547 GB, free: 8.27 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.0008654/0.6002, allocations: 309.4 kB / 0.655 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.6019, allocations: 0.6538 MB / 0.6556 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.602, allocations: 0 / 0.6556 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.603, allocations: 443.5 kB / 0.656 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6042, allocations: 197.2 kB / 0.6562 GB, free: 6.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.6068, allocations: 1.447 MB / 0.6576 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.6074, allocations: 0.8514 MB / 0.6584 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007291/0.6081, allocations: 156.6 kB / 0.6586 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6084, allocations: 75.42 kB / 0.6587 GB, free: 4.07 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6084, allocations: 0 / 0.6587 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Templates: time 0.0246/0.633, allocations: 12.61 MB / 0.671 GB, free: 7.543 MB / 0.4981 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches