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.0009878/0.0009878, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.414/1.414, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007532/0.0007532, allocations: 90.69 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.125e-05, allocations: 0 / 322.4 MB, free: 17.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08787, allocations: 47.59 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3809, allocations: 80.75 MB / 450.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.3811, allocations: 69.47 kB / 450.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0264/0.4075, allocations: 13.39 MB / 464.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4076, allocations: 4 kB / 464.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4076, allocations: 8 kB / 464.2 MB, free: 0.6758 MB / 330.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.0009753/0.4086, allocations: 1.026 MB / 465.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4086, allocations: 12.03 kB / 465.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4088, allocations: 102.7 kB / 465.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.4093, allocations: 416.9 kB / 465.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.4093, allocations: 12 kB / 465.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.4094, allocations: 16 kB / 465.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.4099, allocations: 340.5 kB / 466.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.41, allocations: 0 / 466.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.41, allocations: 15.94 kB / 466.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.41, allocations: 4 kB / 466.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.4104, allocations: 199.8 kB / 466.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.4118, allocations: 0.9626 MB / 467.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.4123, allocations: 303.8 kB / 467.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.4126, allocations: 262.5 kB / 467.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.4127, allocations: 11.94 kB / 467.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007083/0.4134, allocations: 0.5627 MB / 468.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.4134, allocations: 4 kB / 468.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001309/0.4147, allocations: 0.8853 MB / 469.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.4149, allocations: 285 kB / 469.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4167, allocations: 1.27 MB / 470.9 MB, free: 9.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.4168, allocations: 41.7 kB / 470.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.4169, allocations: 122.5 kB / 471 MB, free: 9.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.417, allocations: 67.19 kB / 471.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.417, allocations: 12 kB / 471.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4171, allocations: 338.8 kB / 471.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.4174, allocations: 203.9 kB / 471.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.4177, allocations: 227.6 kB / 471.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.4181, allocations: 354.1 kB / 472.2 MB, free: 8.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4181, allocations: 0 / 472.2 MB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001079/0.4192, allocations: 0.8309 MB / 473.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.4194, allocations: 194.2 kB / 473.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4194, allocations: 0 / 473.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4194, allocations: 0 / 473.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.709e-05/0.4194, allocations: 16.06 kB / 473.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4195, allocations: 0 / 473.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.4198, allocations: 39.88 kB / 473.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4199, allocations: 95.86 kB / 473.4 MB, free: 6.941 MB / 346.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.0002722/0.4202, allocations: 344.3 kB / 473.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4203, allocations: 103 kB / 473.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4206, allocations: 200 kB / 474 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4206, allocations: 4 kB / 474 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4206, allocations: 0 / 474 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4206, allocations: 0 / 474 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.4228, allocations: 1.831 MB / 475.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.4228, allocations: 3.953 kB / 475.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.4228, allocations: 0 / 475.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4228, allocations: 0 / 475.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.4229, allocations: 35.98 kB / 475.9 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4229, allocations: 4 kB / 475.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4229, allocations: 7.922 kB / 475.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.4243, allocations: 1.269 MB / 477.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009058/0.4252, allocations: 0.5891 MB / 477.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4253, allocations: 59.95 kB / 477.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4257, allocations: 35.97 kB / 477.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.4259, allocations: 91.7 kB / 478 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.426, allocations: 91.92 kB / 478 MB, free: 2.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.4274, allocations: 1.067 MB / 479.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4274, allocations: 0 / 479.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000448/0.4278, allocations: 108 kB / 479.2 MB, free: 0.875 MB / 346.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.0002259/0.4281, allocations: 180.3 kB / 479.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.4292, allocations: 0.9806 MB / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4292, allocations: 0 / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.4299, allocations: 0.7932 MB / 481.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.4309, allocations: 207.9 kB / 481.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4334, allocations: 1.812 MB / 483.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.4342, allocations: 1.105 MB / 484.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.527e-05/0.4343, allocations: 29.39 kB / 484.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.4343, allocations: 15.44 kB / 484.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4344, allocations: 4 kB / 484.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.01124/0.4456, allocations: 8.184 MB / 492.5 MB, free: 3.336 MB / 362.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