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.001808/0.001808, allocations: 108 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.3 MB, free: 9.074 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.2266/0.2266, allocations: 46.12 MB / 343.7 MB, free: 11.52 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.002231/0.002231, allocations: 80.05 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.439/0.5621, allocations: 161.4 MB / 0.6257 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.5666, allocations: 1.771 MB / 0.6275 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/0.5675, allocations: 19.88 kB / 0.6275 GB, free: 456 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.5684, allocations: 175 kB / 0.6276 GB, free: 280 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.5708, allocations: 0.6905 MB / 0.6283 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.5729, allocations: 0.5908 MB / 0.6289 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.5749, allocations: 1.603 MB / 0.6305 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.5755, allocations: 289.5 kB / 0.6307 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5766, allocations: 422.3 kB / 0.6311 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.5774, allocations: 390.4 kB / 0.6315 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5776, allocations: 31.94 kB / 0.6315 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.5788, allocations: 0.4914 MB / 0.632 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.579, allocations: 143.5 kB / 0.6322 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.5794, allocations: 258.7 kB / 0.6324 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.5809, allocations: 0.9349 MB / 0.6333 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5809, allocations: 0 / 0.6333 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.5809, allocations: 0 / 0.6333 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.5809, allocations: 0 / 0.6333 GB, free: 10.46 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.00182/0.5827, allocations: 0.9062 MB / 0.6342 GB, free: 9.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5828, allocations: 13.11 kB / 0.6342 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.5832, allocations: 71.33 kB / 0.6343 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.5838, allocations: 395.4 kB / 0.6347 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.5839, allocations: 66.62 kB / 0.6347 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.584, allocations: 39.94 kB / 0.6348 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.585, allocations: 0.5166 MB / 0.6353 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.585, allocations: 3.984 kB / 0.6353 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.5851, allocations: 20 kB / 0.6353 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.5851, allocations: 12.66 kB / 0.6353 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.5861, allocations: 414.1 kB / 0.6357 GB, free: 7.883 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.003349/0.5895, allocations: 2.458 MB / 0.6381 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.5903, allocations: 343.4 kB / 0.6384 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.5907, allocations: 161.3 kB / 0.6386 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.5908, allocations: 16.19 kB / 0.6386 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.5913, allocations: 272.7 kB / 0.6389 GB, free: 4.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.5914, allocations: 0 / 0.6389 GB, free: 4.441 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.01273/0.6041, allocations: 3.247 MB / 0.642 GB, free: 1.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6043, allocations: 166.2 kB / 0.6422 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.6048, allocations: 389.6 kB / 0.6426 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.6049, allocations: 29.7 kB / 0.6426 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.6051, allocations: 256 kB / 0.6428 GB, free: 188 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6053, allocations: 157.7 kB / 0.643 GB, free: 28 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.6055, allocations: 130.3 kB / 0.6431 GB, free: 15.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6057, allocations: 358.7 kB / 0.6435 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.6063, allocations: 217.1 kB / 0.6437 GB, free: 15.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.6072, allocations: 405.1 kB / 0.644 GB, free: 14.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.6086, allocations: 0.6433 MB / 0.6447 GB, free: 14.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6086, allocations: 0 / 0.6447 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001983/0.6106, allocations: 0.7905 MB / 0.6454 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.6106, allocations: 37.69 kB / 0.6455 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6106, allocations: 4 kB / 0.6455 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.6111, allocations: 112.8 kB / 0.6456 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.6117, allocations: 136.1 kB / 0.6457 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006607/0.6123, allocations: 0.681 MB / 0.6464 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.6129, allocations: 55.94 kB / 0.6464 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.613, allocations: 48.81 kB / 0.6465 GB, free: 12.22 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.0002795/0.6133, allocations: 200.1 kB / 0.6467 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.6134, allocations: 47.44 kB / 0.6467 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.6154, allocations: 0.7311 MB / 0.6474 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6155, allocations: 11.98 kB / 0.6474 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6155, allocations: 0 / 0.6474 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6155, allocations: 0 / 0.6474 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.6183, allocations: 1.288 MB / 0.6487 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6183, allocations: 4 kB / 0.6487 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.6188, allocations: 103.9 kB / 0.6488 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.6194, allocations: 112.8 kB / 0.6489 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.6195, allocations: 19.94 kB / 0.6489 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.6215, allocations: 1.687 MB / 0.6506 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6215, allocations: 8.016 kB / 0.6506 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.6239, allocations: 0.9659 MB / 0.6515 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.6242, allocations: 164.5 kB / 0.6517 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6243, allocations: 15.94 kB / 0.6517 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.6248, allocations: 52.03 kB / 0.6518 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.6249, allocations: 63.84 kB / 0.6518 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.625, allocations: 35.92 kB / 0.6518 GB, free: 6.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.6254, allocations: 275.1 kB / 0.6521 GB, free: 6.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6254, allocations: 0 / 0.6521 GB, free: 6.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008713/0.6262, allocations: 232 kB / 0.6523 GB, free: 5.945 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.0009511/0.6272, allocations: 302.9 kB / 0.6526 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.6289, allocations: 0.6022 MB / 0.6532 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6289, allocations: 0 / 0.6532 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009014/0.6298, allocations: 412.4 kB / 0.6536 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6309, allocations: 211.8 kB / 0.6538 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.6332, allocations: 1.328 MB / 0.6551 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.6338, allocations: 0.863 MB / 0.6559 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000717/0.6345, allocations: 152.7 kB / 0.6561 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.6348, allocations: 75.41 kB / 0.6562 GB, free: 1.934 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6348, allocations: 0 / 0.6562 GB, free: 1.934 MB / 494.1 MB Notification: Performance of Templates: time 0.02462/0.6594, allocations: 12.67 MB / 0.6685 GB, free: 5.352 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