Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001185/0.001185, allocations: 180 kB / 17.01 MB, free: 5.125 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.918/1.918, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001067/0.001067, allocations: 100.9 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004196, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3857, allocations: 47.57 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.5004, allocations: 80.84 MB / 456.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5008, allocations: 75.94 kB / 456.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.5304, allocations: 13.35 MB / 470.1 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.586e-06/0.5305, allocations: 4 kB / 470.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.5305, allocations: 8 kB / 470.1 MB, free: 2.363 MB / 346.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.00166/0.5322, allocations: 1.184 MB / 471.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5322, allocations: 12.03 kB / 471.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5324, allocations: 94.83 kB / 471.4 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.5331, allocations: 412.8 kB / 471.8 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.5331, allocations: 19.98 kB / 471.8 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5332, allocations: 20 kB / 471.8 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.5338, allocations: 348.4 kB / 472.2 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5339, allocations: 4 kB / 472.2 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.5339, allocations: 8 kB / 472.2 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5339, allocations: 4 kB / 472.2 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.5343, allocations: 207.7 kB / 472.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.5361, allocations: 0.9587 MB / 473.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.5367, allocations: 303.8 kB / 473.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.5367, allocations: 7.953 kB / 473.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/0.5375, allocations: 0.5926 MB / 474.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.5375, allocations: 0 / 474.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.002026/0.5395, allocations: 1.341 MB / 475.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.5397, allocations: 281 kB / 475.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.5418, allocations: 1.281 MB / 477.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.5419, allocations: 45.69 kB / 477.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.542, allocations: 118.5 kB / 477.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.5421, allocations: 63.25 kB / 477.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.5422, allocations: 8 kB / 477.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5423, allocations: 338.8 kB / 477.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.5427, allocations: 195.8 kB / 477.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.5431, allocations: 255.2 kB / 478.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.5435, allocations: 350.1 kB / 478.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5435, allocations: 0 / 478.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001337/0.5448, allocations: 0.8359 MB / 479.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.545, allocations: 198.2 kB / 479.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.545, allocations: 7.938 kB / 479.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5451, allocations: 0 / 479.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.5451, allocations: 4 kB / 479.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5451, allocations: 0 / 479.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.5454, allocations: 43.88 kB / 479.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.5456, allocations: 95.86 kB / 479.7 MB, free: 8.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * Number of discrete states: 0 () * Number of clocked 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.001283/0.5469, allocations: 0.7899 MB / 480.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.547, allocations: 110.7 kB / 480.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.5474, allocations: 195.9 kB / 480.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5474, allocations: 4 kB / 480.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.5474, allocations: 0 / 480.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5475, allocations: 3.938 kB / 480.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.5501, allocations: 1.847 MB / 482.6 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5501, allocations: 4 kB / 482.6 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.5501, allocations: 11.94 kB / 482.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.5502, allocations: 0 / 482.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.5502, allocations: 35.97 kB / 482.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.5502, allocations: 0 / 482.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5502, allocations: 4 kB / 482.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.5521, allocations: 1.286 MB / 483.9 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.5537, allocations: 0.5891 MB / 484.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.5539, allocations: 59.95 kB / 484.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.5543, allocations: 27.97 kB / 484.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.5545, allocations: 87.88 kB / 484.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.5546, allocations: 91.92 kB / 484.8 MB, free: 2.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001832/0.5565, allocations: 1.083 MB / 485.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5565, allocations: 0 / 485.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.5571, allocations: 104.1 kB / 486 MB, free: 1.605 MB / 362.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) * Number of clocked states: 0 () * 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.0002877/0.5574, allocations: 187.2 kB / 486.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.5588, allocations: 1.004 MB / 487.2 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5588, allocations: 0 / 487.2 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.5597, allocations: 0.8048 MB / 488 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.5607, allocations: 207.6 kB / 488.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.5647, allocations: 2.315 MB / 490.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.5658, allocations: 1.105 MB / 491.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000206/0.566, allocations: 29.39 kB / 491.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.566, allocations: 15.44 kB / 491.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.324e-06/0.566, allocations: 0 / 491.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01454/0.5806, allocations: 8.164 MB / 499.8 MB, free: 3.562 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches