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.00149/0.00149, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001098/0.001098, allocations: 96.36 kB / 270.9 MB, free: 8.383 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.5141/0.5141, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.83 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.188/2.314, allocations: 0.6075 GB / 1.086 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/2.315, allocations: 94.91 kB / 1.086 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.3568/2.671, allocations: 103.9 MB / 1.188 GB, free: 49.91 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.464e-06/2.671, allocations: 0 / 1.188 GB, free: 49.91 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.845e-05/2.671, allocations: 19.92 kB / 1.188 GB, free: 49.89 MB / 0.4949 GB 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.002651/2.674, allocations: 0.8703 MB / 1.189 GB, free: 48.97 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/2.674, allocations: 16.02 kB / 1.189 GB, free: 48.95 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/2.675, allocations: 71.33 kB / 1.189 GB, free: 48.88 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/2.676, allocations: 410.5 kB / 1.189 GB, free: 48.44 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/2.676, allocations: 54.7 kB / 1.189 GB, free: 48.38 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/2.676, allocations: 43.92 kB / 1.189 GB, free: 48.34 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/2.678, allocations: 0.5331 MB / 1.19 GB, free: 47.76 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/2.678, allocations: 3.938 kB / 1.19 GB, free: 47.75 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/2.678, allocations: 19.98 kB / 1.19 GB, free: 47.73 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/2.678, allocations: 16.66 kB / 1.19 GB, free: 47.72 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/2.679, allocations: 422.2 kB / 1.19 GB, free: 47.31 MB / 0.4949 GB 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.004266/2.683, allocations: 2.44 MB / 1.193 GB, free: 44.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/2.685, allocations: 348.6 kB / 1.193 GB, free: 44.35 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/2.685, allocations: 4.281 kB / 1.193 GB, free: 44.34 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007803/2.686, allocations: 277.6 kB / 1.193 GB, free: 44.05 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=34): time 3.266e-06/2.686, allocations: 0 / 1.193 GB, free: 44.05 MB / 0.4949 GB 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.02177/2.707, allocations: 3.632 MB / 1.197 GB, free: 40.29 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/2.707, allocations: 166.2 kB / 1.197 GB, free: 40.09 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/2.708, allocations: 332.8 kB / 1.197 GB, free: 39.75 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/2.708, allocations: 33.7 kB / 1.197 GB, free: 39.71 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/2.708, allocations: 306.4 kB / 1.198 GB, free: 39.41 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/2.708, allocations: 157.7 kB / 1.198 GB, free: 39.25 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/2.709, allocations: 16 kB / 1.198 GB, free: 39.24 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/2.709, allocations: 326.8 kB / 1.198 GB, free: 38.91 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/2.71, allocations: 245.1 kB / 1.198 GB, free: 38.67 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/2.711, allocations: 429.2 kB / 1.199 GB, free: 38.17 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/2.712, allocations: 322.2 kB / 1.199 GB, free: 37.85 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/2.712, allocations: 0 / 1.199 GB, free: 37.85 MB / 0.4949 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00275/2.715, allocations: 0.7793 MB / 1.2 GB, free: 37.05 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/2.715, allocations: 33.7 kB / 1.2 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/2.715, allocations: 8 kB / 1.2 GB, free: 37.01 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/2.716, allocations: 112.8 kB / 1.2 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000987/2.717, allocations: 152.1 kB / 1.2 GB, free: 36.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007411/2.717, allocations: 0.6694 MB / 1.201 GB, free: 36.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/2.718, allocations: 68 kB / 1.201 GB, free: 35.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/2.718, allocations: 55.98 kB / 1.201 GB, free: 35.93 MB / 0.4949 GB 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.0003982/2.719, allocations: 201.6 kB / 1.201 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/2.719, allocations: 55.31 kB / 1.201 GB, free: 35.67 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/2.722, allocations: 0.7837 MB / 1.202 GB, free: 34.87 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/2.722, allocations: 4 kB / 1.202 GB, free: 34.86 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.722, allocations: 0 / 1.202 GB, free: 34.86 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.722, allocations: 0 / 1.202 GB, free: 34.86 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/2.727, allocations: 1.308 MB / 1.203 GB, free: 33.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/2.727, allocations: 4 kB / 1.203 GB, free: 33.47 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/2.727, allocations: 120 kB / 1.203 GB, free: 33.36 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/2.728, allocations: 100.8 kB / 1.203 GB, free: 33.25 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/2.729, allocations: 27.97 kB / 1.203 GB, free: 33.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/2.731, allocations: 1.71 MB / 1.205 GB, free: 31.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.731, allocations: 480 / 1.205 GB, free: 31.39 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/2.735, allocations: 1.101 MB / 1.206 GB, free: 30.22 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/2.735, allocations: 160.5 kB / 1.206 GB, free: 30.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/2.736, allocations: 11.98 kB / 1.206 GB, free: 30.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/2.736, allocations: 71.84 kB / 1.206 GB, free: 29.96 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/2.737, allocations: 63.91 kB / 1.206 GB, free: 29.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/2.737, allocations: 31.98 kB / 1.206 GB, free: 29.87 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004201/2.737, allocations: 271.1 kB / 1.207 GB, free: 29.61 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.71e-07/2.737, allocations: 0 / 1.207 GB, free: 29.61 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001419/2.739, allocations: 299.8 kB / 1.207 GB, free: 29.32 MB / 0.4949 GB 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.001846/2.741, allocations: 0.8082 MB / 1.208 GB, free: 28.51 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002533/2.743, allocations: 0.6423 MB / 1.208 GB, free: 27.85 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/2.743, allocations: 0 / 1.208 GB, free: 27.85 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/2.744, allocations: 439.4 kB / 1.209 GB, free: 27.41 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/2.746, allocations: 178.2 kB / 1.209 GB, free: 27.23 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/2.749, allocations: 1.42 MB / 1.21 GB, free: 25.77 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/2.749, allocations: 0.8669 MB / 1.211 GB, free: 24.88 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/2.75, allocations: 83.41 kB / 1.211 GB, free: 24.79 MB / 0.4949 GB Notification: Performance of SimCode: time 1.042e-06/2.75, allocations: 0 / 1.211 GB, free: 24.79 MB / 0.4949 GB Notification: Performance of Templates: time 0.02764/2.777, allocations: 14.76 MB / 1.226 GB, free: 10.05 MB / 0.4949 GB 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