Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.38 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5143/0.6634, allocations: 160.5 MB / 0.6164 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.6671, allocations: 1.661 MB / 0.618 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.6676, allocations: 15.88 kB / 0.618 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.6683, allocations: 210.6 kB / 0.6182 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.6707, allocations: 0.7648 MB / 0.619 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.6726, allocations: 0.679 MB / 0.6196 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.6739, allocations: 1.154 MB / 0.6208 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.6744, allocations: 323.5 kB / 0.6211 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/0.6753, allocations: 466.3 kB / 0.6215 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.6758, allocations: 382.4 kB / 0.6219 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.6759, allocations: 44 kB / 0.6219 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.6771, allocations: 0.5656 MB / 0.6225 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.6773, allocations: 155.6 kB / 0.6226 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.6776, allocations: 282.6 kB / 0.6229 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.6789, allocations: 0.9621 MB / 0.6238 GB, free: 8.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6789, allocations: 3.938 kB / 0.6238 GB, free: 8.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6789, allocations: 0 / 0.6238 GB, free: 8.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.6789, allocations: 0 / 0.6238 GB, free: 8.094 MB / 462.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.001777/0.6807, allocations: 0.8951 MB / 0.6247 GB, free: 7.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6808, allocations: 8.031 kB / 0.6247 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.6812, allocations: 75.31 kB / 0.6248 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.6819, allocations: 410.3 kB / 0.6252 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.682, allocations: 64.12 kB / 0.6253 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.6821, allocations: 47.86 kB / 0.6253 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.683, allocations: 0.5205 MB / 0.6258 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.6831, allocations: 0 / 0.6258 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.6831, allocations: 16 kB / 0.6258 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.6832, allocations: 24.64 kB / 0.6258 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.684, allocations: 402.1 kB / 0.6262 GB, free: 5.512 MB / 462.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.003703/0.6877, allocations: 2.494 MB / 0.6287 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.6886, allocations: 338.9 kB / 0.629 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.689, allocations: 165.2 kB / 0.6291 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.689, allocations: 8.219 kB / 0.6292 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.6896, allocations: 268.8 kB / 0.6294 GB, free: 2.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.524e-06/0.6896, allocations: 0 / 0.6294 GB, free: 2.043 MB / 462.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.01277/0.7024, allocations: 3.23 MB / 0.6326 GB, free: 14.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7025, allocations: 170.2 kB / 0.6327 GB, free: 14.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.7031, allocations: 385.5 kB / 0.6331 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.7032, allocations: 33.7 kB / 0.6331 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.7035, allocations: 264 kB / 0.6334 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.7037, allocations: 157.7 kB / 0.6335 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.7039, allocations: 130.2 kB / 0.6336 GB, free: 13.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7041, allocations: 354.7 kB / 0.634 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.7047, allocations: 217.1 kB / 0.6342 GB, free: 12.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.7055, allocations: 413.1 kB / 0.6346 GB, free: 12.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.7068, allocations: 0.6472 MB / 0.6352 GB, free: 11.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7068, allocations: 0 / 0.6352 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002017/0.7088, allocations: 0.7909 MB / 0.636 GB, free: 10.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.7089, allocations: 37.69 kB / 0.636 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.709, allocations: 7.938 kB / 0.636 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.7095, allocations: 112.8 kB / 0.6361 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.71, allocations: 131.8 kB / 0.6363 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006058/0.7106, allocations: 0.6851 MB / 0.6369 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.7112, allocations: 47.95 kB / 0.637 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.7113, allocations: 47.98 kB / 0.637 GB, free: 9.828 MB / 478.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.0003176/0.7116, allocations: 189.7 kB / 0.6372 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.7117, allocations: 51.55 kB / 0.6373 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.7135, allocations: 0.7365 MB / 0.638 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.7135, allocations: 8 kB / 0.638 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7136, allocations: 0 / 0.638 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.7136, allocations: 3.984 kB / 0.638 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.7161, allocations: 1.273 MB / 0.6392 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7161, allocations: 4 kB / 0.6392 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.7166, allocations: 107.9 kB / 0.6393 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.7171, allocations: 108.8 kB / 0.6394 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.7172, allocations: 23.92 kB / 0.6395 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.7191, allocations: 1.813 MB / 0.6412 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7191, allocations: 0 / 0.6412 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.7213, allocations: 0.9829 MB / 0.6422 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.7215, allocations: 156.5 kB / 0.6423 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.7216, allocations: 16 kB / 0.6424 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.7221, allocations: 43.94 kB / 0.6424 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7222, allocations: 67.64 kB / 0.6425 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.7223, allocations: 35.94 kB / 0.6425 GB, free: 3.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.7226, allocations: 279.1 kB / 0.6428 GB, free: 3.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7227, allocations: 0 / 0.6428 GB, free: 3.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008742/0.7235, allocations: 231.9 kB / 0.643 GB, free: 3.434 MB / 478.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.0008137/0.7244, allocations: 303.2 kB / 0.6433 GB, free: 3.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.7259, allocations: 0.6032 MB / 0.6439 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7259, allocations: 0 / 0.6439 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.7267, allocations: 418.2 kB / 0.6443 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.7277, allocations: 209.3 kB / 0.6445 GB, free: 1.898 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.7303, allocations: 1.143 MB / 0.6456 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.7317, allocations: 0.8591 MB / 0.6464 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006994/0.7324, allocations: 152.6 kB / 0.6466 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7326, allocations: 71.42 kB / 0.6466 GB, free: 15.6 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.7326, allocations: 4 kB / 0.6466 GB, free: 15.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02156/0.7542, allocations: 13.23 MB / 0.6596 GB, free: 2.469 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches