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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 174.4 kB / 8.471 MB, free: 1.863 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.165/1.165, allocations: 205.2 MB / 214.1 MB, free: 5.156 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008546/0.0008546, allocations: 87.67 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.342e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08631, allocations: 47.57 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.3134, allocations: 80.01 MB / 442.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.3137, allocations: 71.25 kB / 442.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02346/0.3371, allocations: 12.87 MB / 455.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.3372, allocations: 11.69 kB / 455.5 MB, free: 7.195 MB / 314.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.001131/0.3383, allocations: 1.026 MB / 456.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3384, allocations: 9.219 kB / 456.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.3386, allocations: 93.66 kB / 456.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.3392, allocations: 423.8 kB / 457 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.3393, allocations: 14.94 kB / 457.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.3394, allocations: 20.83 kB / 457.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002725/0.3396, allocations: 188.7 kB / 457.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.3401, allocations: 338.2 kB / 457.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3401, allocations: 0 / 457.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.3401, allocations: 6.625 kB / 457.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3401, allocations: 2.656 kB / 457.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3415, allocations: 0.949 MB / 458.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3419, allocations: 301.4 kB / 458.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.3422, allocations: 263.9 kB / 459.1 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3422, allocations: 1.312 kB / 459.1 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.3428, allocations: 0.5547 MB / 459.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.916e-06/0.3428, allocations: 0 / 459.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009661/0.3438, allocations: 0.5013 MB / 460.2 MB, free: 4.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.3439, allocations: 290.1 kB / 460.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.3462, allocations: 1.239 MB / 461.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.3463, allocations: 40.02 kB / 461.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.3463, allocations: 102.6 kB / 461.8 MB, free: 3.527 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.3464, allocations: 68.92 kB / 461.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.3465, allocations: 9.219 kB / 461.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.3466, allocations: 335.1 kB / 462.2 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.3468, allocations: 199.5 kB / 462.4 MB, free: 3.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3472, allocations: 226.7 kB / 462.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3475, allocations: 152.9 kB / 462.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3475, allocations: 0 / 462.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009119/0.3484, allocations: 489 kB / 463.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3485, allocations: 9.5 kB / 463.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3485, allocations: 0 / 463.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3485, allocations: 1.375 kB / 463.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.3485, allocations: 2.75 kB / 463.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3486, allocations: 5.359 kB / 463.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.349, allocations: 35.52 kB / 463.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.3491, allocations: 88.02 kB / 463.4 MB, free: 2.902 MB / 314.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.0003019/0.3494, allocations: 342.8 kB / 463.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.3496, allocations: 101.2 kB / 463.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.3501, allocations: 194.9 kB / 464 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3501, allocations: 6.109 kB / 464 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3501, allocations: 1.188 kB / 464 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3501, allocations: 1.25 kB / 464 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3519, allocations: 1.388 MB / 465.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3519, allocations: 1.375 kB / 465.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.352, allocations: 5.312 kB / 465.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.352, allocations: 1.375 kB / 465.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.352, allocations: 28.73 kB / 465.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.352, allocations: 0 / 465.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.352, allocations: 5.531 kB / 465.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000839/0.3529, allocations: 0.8667 MB / 466.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/0.3539, allocations: 0.6046 MB / 466.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.3541, allocations: 57.39 kB / 467 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.3546, allocations: 33.25 kB / 467 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.3548, allocations: 84.56 kB / 467.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.3549, allocations: 98.55 kB / 467.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001452/0.3564, allocations: 1.041 MB / 468.3 MB, free: 416 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005837/0.357, allocations: 92.25 kB / 468.3 MB, free: 416 kB / 314.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.0002183/0.3572, allocations: 174.3 kB / 468.5 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007901/0.358, allocations: 0.6368 MB / 469.2 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.358, allocations: 0 / 469.2 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.3586, allocations: 0.6357 MB / 469.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3597, allocations: 201 kB / 470 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.3627, allocations: 1.804 MB / 471.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009328/0.3636, allocations: 1.117 MB / 472.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3637, allocations: 0 / 472.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.01133/0.375, allocations: 7.648 MB / 480.6 MB, free: 7.438 MB / 330.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