Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004313/0.00432, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 91.34 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6626/0.6626, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006154/0.0006155, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1268, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5806/0.7075, allocations: 133.1 MB / 0.6087 GB, free: 1.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.7226, allocations: 4.97 MB / 0.6136 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009158/0.7236, allocations: 19.81 kB / 0.6136 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.7247, allocations: 171.1 kB / 0.6137 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.7289, allocations: 0.6646 MB / 0.6144 GB, free: 12.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.7323, allocations: 0.5299 MB / 0.6149 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.7344, allocations: 0.6567 MB / 0.6155 GB, free: 11.04 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.7352, allocations: 272.3 kB / 0.6158 GB, free: 10.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.7367, allocations: 374.8 kB / 0.6162 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.7374, allocations: 254.9 kB / 0.6164 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.7376, allocations: 28 kB / 0.6164 GB, free: 10.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.7398, allocations: 423.5 kB / 0.6168 GB, free: 9.719 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.7402, allocations: 127.6 kB / 0.617 GB, free: 9.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.7405, allocations: 117.5 kB / 0.6171 GB, free: 9.473 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.7424, allocations: 0.6382 MB / 0.6177 GB, free: 8.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7425, allocations: 0 / 0.6177 GB, free: 8.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7425, allocations: 0 / 0.6177 GB, free: 8.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.7425, allocations: 0 / 0.6177 GB, free: 8.84 MB / 442.7 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.003249/0.7458, allocations: 0.8186 MB / 0.6185 GB, free: 7.965 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.7459, allocations: 16.02 kB / 0.6185 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.7467, allocations: 67.41 kB / 0.6186 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.748, allocations: 386.5 kB / 0.6189 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.7482, allocations: 62.69 kB / 0.619 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.7484, allocations: 40.94 kB / 0.619 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.7508, allocations: 0.5266 MB / 0.6196 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.7509, allocations: 4 kB / 0.6196 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.751, allocations: 16.52 kB / 0.6196 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-05/0.7511, allocations: 20.59 kB / 0.6196 GB, free: 6.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.7537, allocations: 426.2 kB / 0.62 GB, free: 6.336 MB / 442.7 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.008193/0.7619, allocations: 2.514 MB / 0.6225 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.7642, allocations: 359.5 kB / 0.6228 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-05/0.7643, allocations: 8.281 kB / 0.6228 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.7658, allocations: 280.7 kB / 0.6231 GB, free: 2.973 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 6.713e-06/0.7658, allocations: 0 / 0.6231 GB, free: 2.973 MB / 442.7 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.02718/0.793, allocations: 3.59 MB / 0.6266 GB, free: 15.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.7932, allocations: 162.2 kB / 0.6267 GB, free: 15.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.7939, allocations: 389.5 kB / 0.6271 GB, free: 14.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.794, allocations: 41.64 kB / 0.6271 GB, free: 14.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.7943, allocations: 294.5 kB / 0.6274 GB, free: 14.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.7945, allocations: 161.6 kB / 0.6276 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.7946, allocations: 16 kB / 0.6276 GB, free: 14.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7948, allocations: 330.8 kB / 0.6279 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.796, allocations: 241.1 kB / 0.6281 GB, free: 13.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7974, allocations: 429.1 kB / 0.6285 GB, free: 13.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.7987, allocations: 318.2 kB / 0.6289 GB, free: 12.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.7987, allocations: 8 kB / 0.6289 GB, free: 12.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003413/0.8021, allocations: 0.7833 MB / 0.6296 GB, free: 11.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.8022, allocations: 37.66 kB / 0.6297 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.8023, allocations: 8 kB / 0.6297 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.8031, allocations: 120.8 kB / 0.6298 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.8042, allocations: 148 kB / 0.6299 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/0.8052, allocations: 0.6694 MB / 0.6306 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.8064, allocations: 71.94 kB / 0.6306 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.8065, allocations: 47.98 kB / 0.6307 GB, free: 10.84 MB / 458.7 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.807, allocations: 205 kB / 0.6309 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.8072, allocations: 51.44 kB / 0.6309 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.8108, allocations: 0.7841 MB / 0.6317 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.8109, allocations: 8 kB / 0.6317 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8109, allocations: 0 / 0.6317 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8109, allocations: 3.984 kB / 0.6317 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/0.8155, allocations: 1.317 MB / 0.633 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.8156, allocations: 4 kB / 0.633 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.8165, allocations: 120 kB / 0.6331 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.8176, allocations: 100.8 kB / 0.6332 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.8178, allocations: 23.98 kB / 0.6332 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.8208, allocations: 1.724 MB / 0.6349 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8209, allocations: 0 / 0.6349 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.8253, allocations: 1.095 MB / 0.636 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.8258, allocations: 160.5 kB / 0.6361 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.8259, allocations: 16 kB / 0.6362 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.8268, allocations: 55.95 kB / 0.6362 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.8271, allocations: 71.84 kB / 0.6363 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.8272, allocations: 32 kB / 0.6363 GB, free: 4.777 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005048/0.8277, allocations: 267.1 kB / 0.6366 GB, free: 4.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8278, allocations: 4 kB / 0.6366 GB, free: 4.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001254/0.829, allocations: 235.9 kB / 0.6368 GB, free: 4.285 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.8303, allocations: 319.1 kB / 0.6371 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.8332, allocations: 0.6526 MB / 0.6377 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8332, allocations: 0 / 0.6377 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.8348, allocations: 431.1 kB / 0.6381 GB, free: 2.883 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.8366, allocations: 199.7 kB / 0.6383 GB, free: 2.695 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.84, allocations: 1.403 MB / 0.6397 GB, free: 1.242 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.8407, allocations: 0.8669 MB / 0.6406 GB, free: 356 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/0.8413, allocations: 83.41 kB / 0.6406 GB, free: 272 kB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8413, allocations: 0 / 0.6406 GB, free: 272 kB / 458.7 MB Notification: Performance of Templates: time 0.02854/0.8698, allocations: 11.72 MB / 0.6521 GB, free: 4.578 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches