Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.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) 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(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.981/1.981, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001112/0.001112, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.507e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09387, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4901, allocations: 80.76 MB / 449.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4904, allocations: 67.44 kB / 449.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04549/0.5359, allocations: 13.38 MB / 463.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5359, allocations: 3.938 kB / 463.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.536, allocations: 12 kB / 463.3 MB, free: 0.9492 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001357/0.5373, allocations: 1.022 MB / 464.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5374, allocations: 16.03 kB / 464.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.5376, allocations: 98.73 kB / 464.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.5384, allocations: 420.9 kB / 464.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.5385, allocations: 12 kB / 464.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.5385, allocations: 16 kB / 464.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.5394, allocations: 336.5 kB / 465.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5394, allocations: 4 kB / 465.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.5395, allocations: 8 kB / 465.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5395, allocations: 8 kB / 465.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.54, allocations: 199.8 kB / 465.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5419, allocations: 0.9625 MB / 466.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.5425, allocations: 295.9 kB / 466.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.5432, allocations: 274.4 kB / 466.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5432, allocations: 7.938 kB / 467 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.5445, allocations: 0.5707 MB / 467.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 6.212e-06/0.5445, allocations: 0 / 467.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003306/0.5478, allocations: 0.8851 MB / 468.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002727/0.5481, allocations: 285 kB / 468.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/0.5527, allocations: 1.27 MB / 470 MB, free: 9.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.5529, allocations: 41.7 kB / 470 MB, free: 9.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.5531, allocations: 180.9 kB / 470.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.5534, allocations: 67.19 kB / 470.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.5535, allocations: 11.94 kB / 470.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5537, allocations: 322.8 kB / 470.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/0.5545, allocations: 211.9 kB / 470.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.5556, allocations: 223 kB / 471 MB, free: 8.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.5564, allocations: 358 kB / 471.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5565, allocations: 0 / 471.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00286/0.5594, allocations: 0.8156 MB / 472.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.5596, allocations: 190.2 kB / 472.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5597, allocations: 4 kB / 472.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5597, allocations: 0 / 472.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.5598, allocations: 11.94 kB / 472.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5598, allocations: 0 / 472.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.5607, allocations: 39.88 kB / 472.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.561, allocations: 91.86 kB / 472.5 MB, free: 7.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006015/0.5616, allocations: 352.6 kB / 472.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.5619, allocations: 106.7 kB / 472.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.5629, allocations: 192.1 kB / 473.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5629, allocations: 8 kB / 473.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5629, allocations: 0 / 473.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5629, allocations: 0 / 473.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.5686, allocations: 1.82 MB / 475 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5687, allocations: 3.953 kB / 475 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.5687, allocations: 4 kB / 475 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.5687, allocations: 0 / 475 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5689, allocations: 35.95 kB / 475 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.5689, allocations: 7.938 kB / 475 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5689, allocations: 4 kB / 475 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.5726, allocations: 1.265 MB / 476.3 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/0.5751, allocations: 0.6007 MB / 476.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.5755, allocations: 63.95 kB / 476.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5766, allocations: 35.91 kB / 477 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.577, allocations: 79.89 kB / 477 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/0.5773, allocations: 99.86 kB / 477.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00394/0.5813, allocations: 1.067 MB / 478.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.343e-06/0.5813, allocations: 0 / 478.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001322/0.5827, allocations: 108 kB / 478.3 MB, free: 1.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.5832, allocations: 176.3 kB / 478.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.5858, allocations: 0.9806 MB / 479.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5859, allocations: 0 / 479.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.5876, allocations: 0.7971 MB / 480.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.5902, allocations: 207.9 kB / 480.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.5973, allocations: 1.884 MB / 482.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.5994, allocations: 1.101 MB / 483.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.5995, allocations: 15.44 kB / 483.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5995, allocations: 0 / 483.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01719/0.6167, allocations: 5.131 MB / 488.6 MB, free: 6.637 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches