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.001532/0.001532, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.383e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4595, allocations: 80.1 MB / 442.4 MB, free: 6.199 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4598, allocations: 74.92 kB / 442.5 MB, free: 6.129 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04923/0.5091, allocations: 13.32 MB / 455.8 MB, free: 8.891 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5092, allocations: 5.125 kB / 455.8 MB, free: 8.887 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5092, allocations: 8 kB / 455.8 MB, free: 8.879 MB / 347.1 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.001856/0.5111, allocations: 1.024 MB / 456.9 MB, free: 7.773 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5111, allocations: 12.03 kB / 456.9 MB, free: 7.762 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.5115, allocations: 98.73 kB / 457 MB, free: 7.664 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.5124, allocations: 416.9 kB / 457.4 MB, free: 7.203 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.5125, allocations: 8 kB / 457.4 MB, free: 7.195 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.5126, allocations: 16 kB / 457.4 MB, free: 7.18 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005309/0.5132, allocations: 183.9 kB / 457.6 MB, free: 7 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.514, allocations: 320 kB / 457.9 MB, free: 6.672 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.514, allocations: 0 / 457.9 MB, free: 6.672 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.5141, allocations: 11.98 kB / 457.9 MB, free: 6.66 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5141, allocations: 9.922 kB / 457.9 MB, free: 6.652 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.5162, allocations: 0.9199 MB / 458.8 MB, free: 5.688 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.5169, allocations: 287.7 kB / 459.1 MB, free: 5.379 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.5175, allocations: 254.7 kB / 459.4 MB, free: 5.121 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5175, allocations: 3.938 kB / 459.4 MB, free: 5.117 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.5187, allocations: 0.6173 MB / 460 MB, free: 4.441 MB / 347.1 MB Notification: Performance of pre-optimization done (n=30): time 3.327e-06/0.5187, allocations: 0 / 460 MB, free: 4.441 MB / 347.1 MB Notification: Performance of matching and sorting (n=30): time 0.001967/0.5207, allocations: 0.673 MB / 460.7 MB, free: 3.762 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/0.5209, allocations: 277 kB / 460.9 MB, free: 3.43 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/0.524, allocations: 1.235 MB / 462.2 MB, free: 2.176 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.5242, allocations: 37.69 kB / 462.2 MB, free: 2.133 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5244, allocations: 180.8 kB / 462.4 MB, free: 1.953 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5245, allocations: 63.27 kB / 462.4 MB, free: 1.891 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.5246, allocations: 4 kB / 462.4 MB, free: 1.887 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5248, allocations: 326.8 kB / 462.8 MB, free: 1.559 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.5253, allocations: 191.8 kB / 462.9 MB, free: 1.371 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.5258, allocations: 225.8 kB / 463.2 MB, free: 1.145 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.5262, allocations: 155.7 kB / 463.3 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5262, allocations: 0 / 463.3 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001686/0.5279, allocations: 0.6064 MB / 463.9 MB, free: 392 kB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.5281, allocations: 194.2 kB / 464.1 MB, free: 160 kB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5282, allocations: 3.953 kB / 464.1 MB, free: 156 kB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5282, allocations: 0 / 464.1 MB, free: 156 kB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.5282, allocations: 4 kB / 464.1 MB, free: 152 kB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5283, allocations: 0 / 464.1 MB, free: 152 kB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.5289, allocations: 39.88 kB / 464.2 MB, free: 112 kB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.5291, allocations: 93.66 kB / 464.3 MB, free: 20 kB / 347.1 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.0005069/0.5296, allocations: 352.6 kB / 464.6 MB, free: 15.63 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5298, allocations: 102.8 kB / 464.7 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.5305, allocations: 196 kB / 464.9 MB, free: 15.33 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5305, allocations: 7.953 kB / 464.9 MB, free: 15.32 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5305, allocations: 0 / 464.9 MB, free: 15.32 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5305, allocations: 0 / 464.9 MB, free: 15.32 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.5342, allocations: 1.554 MB / 466.4 MB, free: 13.73 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5342, allocations: 4 kB / 466.5 MB, free: 13.72 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.5343, allocations: 3.938 kB / 466.5 MB, free: 13.72 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.5343, allocations: 0 / 466.5 MB, free: 13.72 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.5344, allocations: 31.94 kB / 466.5 MB, free: 13.69 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.5344, allocations: 7.984 kB / 466.5 MB, free: 13.68 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5345, allocations: 0 / 466.5 MB, free: 13.68 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.5367, allocations: 1.031 MB / 467.5 MB, free: 12.62 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.5386, allocations: 0.5968 MB / 468.1 MB, free: 12 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.539, allocations: 51.97 kB / 468.2 MB, free: 11.95 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.5396, allocations: 35.91 kB / 468.2 MB, free: 11.92 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/0.54, allocations: 83.88 kB / 468.3 MB, free: 11.84 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.5402, allocations: 100.9 kB / 468.4 MB, free: 11.74 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.00255/0.5428, allocations: 1.024 MB / 469.4 MB, free: 10.7 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.5428, allocations: 0 / 469.4 MB, free: 10.7 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008949/0.5437, allocations: 104 kB / 469.5 MB, free: 10.6 MB / 363.1 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.0003948/0.5441, allocations: 173.8 kB / 469.7 MB, free: 10.43 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.5459, allocations: 0.9493 MB / 470.6 MB, free: 9.402 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5459, allocations: 4 kB / 470.6 MB, free: 9.398 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5472, allocations: 0.7776 MB / 471.4 MB, free: 8.547 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.5489, allocations: 223.2 kB / 471.6 MB, free: 8.332 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.5537, allocations: 1.856 MB / 473.5 MB, free: 6.434 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.5552, allocations: 1.108 MB / 474.6 MB, free: 5.301 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.5552, allocations: 15.44 kB / 474.6 MB, free: 5.285 MB / 363.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5552, allocations: 0 / 474.6 MB, free: 5.285 MB / 363.1 MB Notification: Performance of Templates: time 0.01274/0.568, allocations: 5.101 MB / 479.7 MB, free: 188 kB / 363.1 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