Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009343, allocations: 91.62 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.667e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08833, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.416, allocations: 81 MB / 468.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4164, allocations: 71.95 kB / 468.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02627/0.4427, allocations: 13.44 MB / 482 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4427, allocations: 0 / 482 MB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.4427, allocations: 15.94 kB / 482 MB, free: 360 kB / 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.0009076/0.4436, allocations: 1.026 MB / 483 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4437, allocations: 8.031 kB / 483 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4438, allocations: 98.78 kB / 483.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.4443, allocations: 412.7 kB / 483.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.4444, allocations: 23.94 kB / 483.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.4444, allocations: 16 kB / 483.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002828/0.4447, allocations: 179.9 kB / 483.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.4451, allocations: 321.2 kB / 484 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4451, allocations: 4 kB / 484.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.4452, allocations: 7.984 kB / 484.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4452, allocations: 4 kB / 484.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4464, allocations: 0.9353 MB / 485 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.4467, allocations: 287.8 kB / 485.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.447, allocations: 254.5 kB / 485.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.447, allocations: 0 / 485.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.4476, allocations: 0.606 MB / 486.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.4477, allocations: 0 / 486.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.00107/0.4487, allocations: 0.68 MB / 486.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4489, allocations: 281 kB / 487.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4504, allocations: 1.219 MB / 488.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.4504, allocations: 49.69 kB / 488.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4505, allocations: 118.5 kB / 488.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.4506, allocations: 63.27 kB / 488.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4506, allocations: 4 kB / 488.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4508, allocations: 338.8 kB / 488.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.451, allocations: 195.7 kB / 489.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.4513, allocations: 222.5 kB / 489.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4515, allocations: 155.8 kB / 489.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4515, allocations: 0 / 489.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008708/0.4524, allocations: 0.618 MB / 490 MB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4525, allocations: 190.2 kB / 490.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4525, allocations: 0 / 490.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4526, allocations: 3.984 kB / 490.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.998e-05/0.4526, allocations: 7.938 kB / 490.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4526, allocations: 0 / 490.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.4529, allocations: 39.83 kB / 490.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/0.453, allocations: 91.94 kB / 490.4 MB, free: 7.508 MB / 362.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.000255/0.4533, allocations: 352.6 kB / 490.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4534, allocations: 98.88 kB / 490.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.4537, allocations: 196 kB / 491 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4537, allocations: 4 kB / 491 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4537, allocations: 0 / 491 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4537, allocations: 0 / 491 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4555, allocations: 1.564 MB / 492.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4555, allocations: 4 kB / 492.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.4555, allocations: 0 / 492.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4555, allocations: 3.938 kB / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.4556, allocations: 27.98 kB / 492.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4556, allocations: 4 kB / 492.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4556, allocations: 0 / 492.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.4567, allocations: 1.048 MB / 493.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/0.4575, allocations: 0.5852 MB / 494.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.4577, allocations: 55.95 kB / 494.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.458, allocations: 35.83 kB / 494.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4582, allocations: 87.88 kB / 494.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/0.4583, allocations: 99.86 kB / 494.5 MB, free: 3.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.4596, allocations: 1.024 MB / 495.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4596, allocations: 0 / 495.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000459/0.4601, allocations: 104 kB / 495.6 MB, free: 2.078 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) * 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.0002274/0.4603, allocations: 173.8 kB / 495.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009468/0.4612, allocations: 0.9571 MB / 496.8 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4613, allocations: 4 kB / 496.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.4619, allocations: 0.7776 MB / 497.6 MB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/0.4628, allocations: 213.9 kB / 497.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4652, allocations: 1.788 MB / 499.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.466, allocations: 1.105 MB / 0.4889 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.4661, allocations: 29.17 kB / 0.4889 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.4662, allocations: 11.44 kB / 0.489 GB, free: 12.81 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4662, allocations: 3.938 kB / 0.489 GB, free: 12.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01138/0.4775, allocations: 7.727 MB / 0.4965 GB, free: 5.094 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches