Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001132/0.001132, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 203.5 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4393/0.4393, allocations: 43.5 MB / 313.5 MB, free: 8.473 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5019/0.6526, allocations: 161.4 MB / 0.5872 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008553/0.6613, allocations: 4.274 MB / 0.5913 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.6621, allocations: 19.88 kB / 0.5914 GB, free: 6.441 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.6631, allocations: 175 kB / 0.5915 GB, free: 6.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.666, allocations: 0.7464 MB / 0.5923 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.6679, allocations: 0.5819 MB / 0.5928 GB, free: 4.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.67, allocations: 1.592 MB / 0.5944 GB, free: 3.355 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.6706, allocations: 289.6 kB / 0.5947 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.6716, allocations: 418.3 kB / 0.5951 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.6722, allocations: 386.5 kB / 0.5954 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.432e-05/0.6723, allocations: 28 kB / 0.5954 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.674, allocations: 0.5303 MB / 0.596 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.6742, allocations: 135.6 kB / 0.5961 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.6746, allocations: 250.7 kB / 0.5963 GB, free: 1.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.6762, allocations: 0.9582 MB / 0.5973 GB, free: 396 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6762, allocations: 0 / 0.5973 GB, free: 396 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6763, allocations: 0 / 0.5973 GB, free: 396 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.6763, allocations: 0 / 0.5973 GB, free: 396 kB / 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.002208/0.6785, allocations: 0.9036 MB / 0.5982 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6785, allocations: 8.031 kB / 0.5982 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.679, allocations: 75.41 kB / 0.5982 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.6796, allocations: 386.4 kB / 0.5986 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.6796, allocations: 62.69 kB / 0.5987 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.6797, allocations: 39.91 kB / 0.5987 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.6807, allocations: 0.5321 MB / 0.5992 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.6808, allocations: 4 kB / 0.5992 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.6808, allocations: 12 kB / 0.5992 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.6809, allocations: 16.66 kB / 0.5992 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.6818, allocations: 402.1 kB / 0.5996 GB, free: 13.82 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.003841/0.6857, allocations: 2.492 MB / 0.6021 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.6865, allocations: 343.4 kB / 0.6024 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.6869, allocations: 172.4 kB / 0.6026 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.6869, allocations: 4.281 kB / 0.6026 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.6875, allocations: 268.1 kB / 0.6028 GB, free: 10.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.6875, allocations: 0 / 0.6028 GB, free: 10.35 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.01213/0.6997, allocations: 3.236 MB / 0.606 GB, free: 6.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6998, allocations: 162.2 kB / 0.6061 GB, free: 6.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.7003, allocations: 385.5 kB / 0.6065 GB, free: 6.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.7003, allocations: 37.7 kB / 0.6065 GB, free: 6.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.7006, allocations: 267.9 kB / 0.6068 GB, free: 6.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.7009, allocations: 161.6 kB / 0.6069 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.7011, allocations: 118.3 kB / 0.6071 GB, free: 5.816 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7012, allocations: 358.8 kB / 0.6074 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.7018, allocations: 215.2 kB / 0.6076 GB, free: 5.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.7025, allocations: 413.1 kB / 0.608 GB, free: 4.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.7038, allocations: 0.6394 MB / 0.6086 GB, free: 4.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7038, allocations: 4 kB / 0.6086 GB, free: 4.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001872/0.7057, allocations: 0.7947 MB / 0.6094 GB, free: 3.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.7057, allocations: 33.7 kB / 0.6094 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7058, allocations: 8 kB / 0.6094 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.7062, allocations: 108.8 kB / 0.6095 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.7068, allocations: 135.8 kB / 0.6097 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/0.7074, allocations: 0.6812 MB / 0.6103 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.708, allocations: 51.94 kB / 0.6104 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.7081, allocations: 45.72 kB / 0.6104 GB, free: 2.145 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.0002823/0.7084, allocations: 213.4 kB / 0.6106 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.7085, allocations: 47.44 kB / 0.6107 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.7105, allocations: 0.7345 MB / 0.6114 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7105, allocations: 4 kB / 0.6114 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.7105, allocations: 8.609 kB / 0.6114 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.7105, allocations: 4 kB / 0.6114 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.713, allocations: 1.276 MB / 0.6127 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7131, allocations: 8.031 kB / 0.6127 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.7136, allocations: 106.9 kB / 0.6128 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/0.7141, allocations: 94.72 kB / 0.6129 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.7142, allocations: 35.91 kB / 0.6129 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.716, allocations: 1.68 MB / 0.6145 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.716, allocations: 4.031 kB / 0.6145 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.7182, allocations: 0.9659 MB / 0.6155 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.7185, allocations: 164.5 kB / 0.6156 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.7186, allocations: 11.94 kB / 0.6157 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.719, allocations: 51.94 kB / 0.6157 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.7192, allocations: 59.94 kB / 0.6158 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.7193, allocations: 35.98 kB / 0.6158 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.7196, allocations: 275.1 kB / 0.6161 GB, free: 12.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.7196, allocations: 0 / 0.6161 GB, free: 12.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008539/0.7205, allocations: 243.9 kB / 0.6163 GB, free: 11.88 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.0008587/0.7213, allocations: 306 kB / 0.6166 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.7229, allocations: 0.603 MB / 0.6172 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.7229, allocations: 8 kB / 0.6172 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.7237, allocations: 407.4 kB / 0.6176 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7248, allocations: 204 kB / 0.6178 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.7271, allocations: 1.336 MB / 0.6191 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.7275, allocations: 0.8553 MB / 0.6199 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007158/0.7283, allocations: 152.9 kB / 0.62 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.7285, allocations: 71.42 kB / 0.6201 GB, free: 7.879 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7285, allocations: 0 / 0.6201 GB, free: 7.879 MB / 494.1 MB Notification: Performance of Templates: time 0.2661/0.9946, allocations: 12.95 MB / 0.6328 GB, free: 156.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches