Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 196.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007772/0.0007773, allocations: 97.98 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.0002239, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2517, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.3612, allocations: 82.48 MB / 491.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3615, allocations: 71.95 kB / 491.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02794/0.3894, allocations: 13.55 MB / 0.4936 GB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3895, allocations: 0 / 0.4936 GB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.3895, allocations: 12 kB / 0.4936 GB, free: 11.49 MB / 378.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.001341/0.3909, allocations: 1.165 MB / 0.4948 GB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3909, allocations: 8.031 kB / 0.4948 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3911, allocations: 99.8 kB / 0.4949 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.3916, allocations: 461.1 kB / 0.4953 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.3917, allocations: 16.38 kB / 0.4953 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.3918, allocations: 16.38 kB / 0.4953 GB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.3924, allocations: 348.4 kB / 0.4957 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3924, allocations: 192 / 0.4957 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.3924, allocations: 19.92 kB / 0.4957 GB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3925, allocations: 7.938 kB / 0.4957 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.3928, allocations: 199.8 kB / 0.4959 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3942, allocations: 0.9665 MB / 0.4968 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.3946, allocations: 307.9 kB / 0.4971 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.395, allocations: 274.5 kB / 0.4974 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.395, allocations: 4 kB / 0.4974 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.3957, allocations: 0.5758 MB / 0.498 GB, free: 6.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.3957, allocations: 0 / 0.498 GB, free: 6.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001783/0.3975, allocations: 1.127 MB / 0.4991 GB, free: 5.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.3977, allocations: 281 kB / 0.4993 GB, free: 5.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.3995, allocations: 1.45 MB / 0.5007 GB, free: 3.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.3996, allocations: 45.69 kB / 0.5008 GB, free: 3.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.3997, allocations: 114.6 kB / 0.5009 GB, free: 3.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.3998, allocations: 67.16 kB / 0.501 GB, free: 3.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.3998, allocations: 8 kB / 0.501 GB, free: 3.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4, allocations: 338.8 kB / 0.5013 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.4003, allocations: 199.8 kB / 0.5015 GB, free: 2.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.4007, allocations: 248.9 kB / 0.5017 GB, free: 2.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.4014, allocations: 0.718 MB / 0.5024 GB, free: 1.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4015, allocations: 0 / 0.5024 GB, free: 1.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001219/0.4027, allocations: 0.8584 MB / 0.5033 GB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.4028, allocations: 186.2 kB / 0.5034 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4028, allocations: 7.984 kB / 0.5034 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4029, allocations: 0 / 0.5034 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.089e-05/0.4029, allocations: 12 kB / 0.5035 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4029, allocations: 0 / 0.5035 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.4032, allocations: 39.81 kB / 0.5035 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.4033, allocations: 91.94 kB / 0.5036 GB, free: 0.6484 MB / 378.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.2164/0.6197, allocations: 0.787 MB / 0.5043 GB, free: 97.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.62, allocations: 103.7 kB / 0.5044 GB, free: 97.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.6206, allocations: 196.1 kB / 0.5046 GB, free: 97.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6206, allocations: 3.219 kB / 0.5046 GB, free: 97.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6206, allocations: 2.266 kB / 0.5046 GB, free: 97.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6206, allocations: 1.922 kB / 0.5046 GB, free: 97.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.6236, allocations: 1.874 MB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6236, allocations: 0.5625 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.6236, allocations: 6.781 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6237, allocations: 2.062 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.6237, allocations: 28.02 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6237, allocations: 8.906 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6237, allocations: 1.484 kB / 0.5065 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6253, allocations: 1.278 MB / 0.5078 GB, free: 95.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/0.6263, allocations: 0.5951 MB / 0.5083 GB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6264, allocations: 58.83 kB / 0.5084 GB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.6268, allocations: 37.66 kB / 0.5084 GB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.627, allocations: 81.8 kB / 0.5085 GB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6271, allocations: 97.59 kB / 0.5086 GB, free: 95.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001653/0.6288, allocations: 1.081 MB / 0.5097 GB, free: 95.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6288, allocations: 0 / 0.5097 GB, free: 95.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.6294, allocations: 107.2 kB / 0.5098 GB, free: 95.35 MB / 378.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.0002885/0.6297, allocations: 175 kB / 0.5099 GB, free: 95.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.6309, allocations: 1.004 MB / 0.5109 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.631, allocations: 3.125 kB / 0.5109 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.6316, allocations: 0.8004 MB / 0.5117 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6327, allocations: 215.5 kB / 0.5119 GB, free: 94.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.6354, allocations: 2.319 MB / 0.5142 GB, free: 93.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.636, allocations: 1.082 MB / 0.5152 GB, free: 92.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.6361, allocations: 36.2 kB / 0.5153 GB, free: 92.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6361, allocations: 15.22 kB / 0.5153 GB, free: 92.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6361, allocations: 0 / 0.5153 GB, free: 92.32 MB / 378.7 MB Notification: Performance of Templates: time 0.009965/0.6461, allocations: 8.242 MB / 0.5233 GB, free: 87.52 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches