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.003064/0.003064, allocations: 181.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.707/3.707, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001271/0.001271, allocations: 77.45 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000583/0.0005832, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6195, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.8089, allocations: 80.88 MB / 456.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004692/0.8094, allocations: 71.97 kB / 456.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04564/0.8551, allocations: 13.36 MB / 470 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.8552, allocations: 0 / 470 MB, free: 2.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.225e-05/0.8553, allocations: 16 kB / 470 MB, free: 2.301 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.003867/0.8592, allocations: 1.169 MB / 471.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.561e-05/0.8593, allocations: 8.031 kB / 471.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.8598, allocations: 99.81 kB / 471.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.8611, allocations: 453.1 kB / 471.8 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.8612, allocations: 16.38 kB / 471.8 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.8613, allocations: 20.38 kB / 471.8 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.8625, allocations: 352.9 kB / 472.1 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.8626, allocations: 192 / 472.1 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.8627, allocations: 15.92 kB / 472.2 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.8627, allocations: 7.984 kB / 472.2 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.8635, allocations: 199.8 kB / 472.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.8685, allocations: 0.9626 MB / 473.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.8696, allocations: 307.7 kB / 473.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/0.8705, allocations: 270.5 kB / 473.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.8706, allocations: 4 kB / 473.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.872, allocations: 0.5848 MB / 474.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 5.831e-06/0.8721, allocations: 0 / 474.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.003706/0.8758, allocations: 1.127 MB / 475.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/0.8761, allocations: 277 kB / 475.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009418/0.8855, allocations: 1.454 MB / 477.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003277/0.886, allocations: 45.69 kB / 477.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.8863, allocations: 114.6 kB / 477.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.8867, allocations: 71.16 kB / 477.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.8868, allocations: 11.94 kB / 477.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003346/0.8872, allocations: 342.8 kB / 477.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008854/0.8881, allocations: 199.8 kB / 478.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.889, allocations: 247.2 kB / 478.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.8906, allocations: 0.7121 MB / 479 MB, free: 8.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8906, allocations: 0 / 479 MB, free: 8.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002219/0.8929, allocations: 0.8583 MB / 479.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.8931, allocations: 186.2 kB / 480.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.8932, allocations: 7.984 kB / 480.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.8932, allocations: 3.938 kB / 480.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.8932, allocations: 8.094 kB / 480.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.8933, allocations: 4 kB / 480.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.8939, allocations: 27.97 kB / 480.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.8941, allocations: 95.88 kB / 480.2 MB, free: 7.461 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.002263/0.8963, allocations: 0.7976 MB / 481 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.8967, allocations: 102.8 kB / 481.1 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.8978, allocations: 191.9 kB / 481.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.8978, allocations: 12.84 kB / 481.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.8978, allocations: 3.938 kB / 481.3 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8978, allocations: 0 / 481.3 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.9033, allocations: 1.878 MB / 483.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.9034, allocations: 0 / 483.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.9034, allocations: 0 / 483.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/0.9034, allocations: 4 kB / 483.2 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.9036, allocations: 27.98 kB / 483.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.9036, allocations: 4 kB / 483.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.9036, allocations: 3.938 kB / 483.3 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/0.907, allocations: 1.285 MB / 484.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/0.9097, allocations: 0.593 MB / 485.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.9101, allocations: 51.97 kB / 485.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.9109, allocations: 35.97 kB / 485.2 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.9113, allocations: 87.81 kB / 485.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/0.9115, allocations: 95.92 kB / 485.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004142/0.9157, allocations: 1.075 MB / 486.5 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9157, allocations: 0 / 486.5 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001323/0.9171, allocations: 108 kB / 486.6 MB, free: 0.8828 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.0005127/0.9176, allocations: 183.3 kB / 486.8 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.9203, allocations: 0.9999 MB / 487.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9203, allocations: 0 / 487.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.922, allocations: 0.8009 MB / 488.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.9243, allocations: 214.5 kB / 488.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/0.9327, allocations: 2.395 MB / 491.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.9352, allocations: 1.089 MB / 492.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.9353, allocations: 15.44 kB / 492.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.9354, allocations: 0 / 492.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of Templates: time 0.01846/0.9538, allocations: 5.24 MB / 497.5 MB, free: 5.727 MB / 378.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