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") [: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 trunk/package.mo): time 0.001033/0.001033, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008113/0.0008114, allocations: 86.3 kB / 286.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.111e-06, allocations: 0 / 343.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08787, allocations: 51.49 MB / 394.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.3148, allocations: 81.74 MB / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001584/0.315, allocations: 68.81 kB / 476.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02229/0.3373, allocations: 13.06 MB / 489.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.3373, allocations: 16 kB / 489.5 MB, free: 0.7148 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.0008354/0.3382, allocations: 1.026 MB / 490.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3382, allocations: 8.031 kB / 490.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3384, allocations: 98.86 kB / 490.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.3389, allocations: 427.2 kB / 491 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.3389, allocations: 14.59 kB / 491.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.339, allocations: 16 kB / 491.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002828/0.3393, allocations: 189 kB / 491.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.3397, allocations: 335.8 kB / 491.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3397, allocations: 0 / 491.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.3398, allocations: 11.98 kB / 491.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3398, allocations: 0 / 491.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3409, allocations: 0.9557 MB / 492.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3413, allocations: 291.5 kB / 492.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.3416, allocations: 260.5 kB / 493.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3416, allocations: 0 / 493.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.342, allocations: 0.5477 MB / 493.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.3421, allocations: 0 / 493.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007297/0.3428, allocations: 0.5155 MB / 494.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3429, allocations: 275.5 kB / 494.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.3443, allocations: 1.243 MB / 495.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.3444, allocations: 41.56 kB / 495.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.3444, allocations: 103.8 kB / 495.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.3445, allocations: 62.88 kB / 495.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3446, allocations: 4 kB / 495.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.3447, allocations: 341.9 kB / 496.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.3449, allocations: 203.5 kB / 496.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.3452, allocations: 219.8 kB / 496.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3454, allocations: 163.3 kB / 496.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3454, allocations: 0 / 496.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000602/0.346, allocations: 480.6 kB / 497.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.346, allocations: 4 kB / 497.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.346, allocations: 0 / 497.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3461, allocations: 4 kB / 497.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.3461, allocations: 7.812 kB / 497.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3461, allocations: 11.92 kB / 497.3 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3464, allocations: 35.81 kB / 497.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.3465, allocations: 83.59 kB / 497.4 MB, free: 9.637 MB / 362.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.0002475/0.3468, allocations: 340.3 kB / 497.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3469, allocations: 106.8 kB / 497.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.3472, allocations: 199 kB / 498 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3472, allocations: 0 / 498 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3472, allocations: 4 kB / 498 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3472, allocations: 0 / 498 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3487, allocations: 1.389 MB / 499.4 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3487, allocations: 0 / 499.4 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-06/0.3487, allocations: 0 / 499.4 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3487, allocations: 7.984 kB / 499.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.3488, allocations: 27.92 kB / 499.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3488, allocations: 4 kB / 499.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3488, allocations: 0 / 499.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008122/0.3496, allocations: 0.8669 MB / 0.4886 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.3505, allocations: 0.6014 MB / 0.4892 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.3507, allocations: 58.45 kB / 0.4892 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3511, allocations: 37.77 kB / 0.4893 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.3512, allocations: 76.64 kB / 0.4894 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.3514, allocations: 99.34 kB / 0.4894 GB, free: 6.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001248/0.3526, allocations: 1.044 MB / 0.4905 GB, free: 5.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.3531, allocations: 92.88 kB / 0.4906 GB, free: 5.289 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) * 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.0002597/0.3533, allocations: 171.8 kB / 0.4907 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007709/0.3541, allocations: 0.6324 MB / 0.4913 GB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3541, allocations: 0 / 0.4913 GB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.3548, allocations: 0.6329 MB / 0.492 GB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.3556, allocations: 201.4 kB / 0.4921 GB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.3584, allocations: 1.805 MB / 0.4939 GB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008207/0.3592, allocations: 1.111 MB / 0.495 GB, free: 1.242 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3592, allocations: 5.406 kB / 0.495 GB, free: 1.238 MB / 362.7 MB Notification: Performance of Templates: time 0.01034/0.3696, allocations: 7.635 MB / 0.5025 GB, free: 9.68 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/jenkins/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