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.0007883/0.0007883, allocations: 92.58 kB / 17.35 MB, free: 6.367 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.0008998/0.0008999, allocations: 176.5 kB / 18.25 MB, free: 5.523 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.351/1.351, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003215, allocations: 8.562 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4905/0.6351, allocations: 156.4 MB / 0.6139 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.6386, allocations: 1.743 MB / 0.6156 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.639, allocations: 15.88 kB / 0.6156 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005793/0.6396, allocations: 182.9 kB / 0.6158 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.6414, allocations: 0.6828 MB / 0.6165 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6432, allocations: 0.5772 MB / 0.617 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.6449, allocations: 1.607 MB / 0.6186 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.6453, allocations: 277.3 kB / 0.6189 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006926/0.6461, allocations: 418.3 kB / 0.6193 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.6465, allocations: 390.4 kB / 0.6197 GB, free: 436 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.6466, allocations: 24 kB / 0.6197 GB, free: 412 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.6476, allocations: 491.3 kB / 0.6201 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.6478, allocations: 139.4 kB / 0.6203 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.6481, allocations: 280.4 kB / 0.6205 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.6492, allocations: 0.9269 MB / 0.6214 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6493, allocations: 0 / 0.6214 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6493, allocations: 0 / 0.6214 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.6493, allocations: 0 / 0.6214 GB, free: 14.57 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.001559/0.6508, allocations: 0.8134 MB / 0.6222 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6509, allocations: 8.031 kB / 0.6223 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.6513, allocations: 75.31 kB / 0.6223 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.6518, allocations: 394.3 kB / 0.6227 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.6519, allocations: 66.67 kB / 0.6228 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.652, allocations: 39.94 kB / 0.6228 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.6531, allocations: 0.5322 MB / 0.6233 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6531, allocations: 3.984 kB / 0.6233 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.6531, allocations: 20 kB / 0.6233 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.6532, allocations: 12.66 kB / 0.6234 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.6542, allocations: 430.1 kB / 0.6238 GB, free: 12.05 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.003261/0.6575, allocations: 2.51 MB / 0.6262 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.6584, allocations: 379.3 kB / 0.6266 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.6588, allocations: 173.2 kB / 0.6267 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.6589, allocations: 12.2 kB / 0.6268 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.6595, allocations: 280.8 kB / 0.627 GB, free: 8.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.6595, allocations: 0 / 0.627 GB, free: 8.496 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.01303/0.6725, allocations: 3.608 MB / 0.6305 GB, free: 4.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.6726, allocations: 166.2 kB / 0.6307 GB, free: 4.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.673, allocations: 381.6 kB / 0.6311 GB, free: 4.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.6731, allocations: 45.64 kB / 0.6311 GB, free: 4.129 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.6733, allocations: 255.9 kB / 0.6314 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.6734, allocations: 161.7 kB / 0.6315 GB, free: 3.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.6735, allocations: 49.69 kB / 0.6316 GB, free: 3.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6737, allocations: 358.8 kB / 0.6319 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.6744, allocations: 245.1 kB / 0.6321 GB, free: 3.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.6752, allocations: 437.1 kB / 0.6326 GB, free: 2.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.6767, allocations: 0.6785 MB / 0.6332 GB, free: 1.805 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6767, allocations: 0 / 0.6332 GB, free: 1.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002058/0.6787, allocations: 0.8454 MB / 0.634 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.6788, allocations: 33.7 kB / 0.6341 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6788, allocations: 4 kB / 0.6341 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.6793, allocations: 120.8 kB / 0.6342 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.6799, allocations: 152 kB / 0.6343 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006127/0.6805, allocations: 0.6771 MB / 0.635 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.681, allocations: 68.02 kB / 0.6351 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.6811, allocations: 47.98 kB / 0.6351 GB, free: 15.81 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.0002978/0.6814, allocations: 200.3 kB / 0.6353 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.6815, allocations: 55.42 kB / 0.6354 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.6837, allocations: 0.7813 MB / 0.6361 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6838, allocations: 4 kB / 0.6361 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6838, allocations: 0 / 0.6361 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.6838, allocations: 3.984 kB / 0.6361 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.6864, allocations: 1.328 MB / 0.6374 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6864, allocations: 4 kB / 0.6374 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.6869, allocations: 124 kB / 0.6375 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/0.6875, allocations: 100.7 kB / 0.6376 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.6876, allocations: 31.86 kB / 0.6377 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.6895, allocations: 1.695 MB / 0.6393 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6895, allocations: 0 / 0.6393 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.692, allocations: 1.051 MB / 0.6403 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.6924, allocations: 168.5 kB / 0.6405 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/0.6924, allocations: 11.94 kB / 0.6405 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.6929, allocations: 67.88 kB / 0.6406 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.6931, allocations: 55.92 kB / 0.6406 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.6932, allocations: 35.98 kB / 0.6407 GB, free: 9.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.6935, allocations: 271.1 kB / 0.6409 GB, free: 9.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6935, allocations: 4 kB / 0.6409 GB, free: 9.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009263/0.6945, allocations: 232 kB / 0.6412 GB, free: 9.328 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.000878/0.6954, allocations: 304.2 kB / 0.6414 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.697, allocations: 0.654 MB / 0.6421 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.697, allocations: 0 / 0.6421 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.6979, allocations: 446.8 kB / 0.6425 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6991, allocations: 202.9 kB / 0.6427 GB, free: 7.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.7013, allocations: 1.436 MB / 0.6441 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.7018, allocations: 0.8514 MB / 0.6449 GB, free: 5.363 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006646/0.7024, allocations: 152.6 kB / 0.6451 GB, free: 5.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.7027, allocations: 71.42 kB / 0.6452 GB, free: 5.141 MB / 478.1 MB Notification: Performance of SimCode: time 3.096e-06/0.7027, allocations: 0 / 0.6452 GB, free: 5.141 MB / 478.1 MB Notification: Performance of Templates: time 0.02149/0.7242, allocations: 12.61 MB / 0.6575 GB, free: 8.633 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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