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") [: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.001675/0.001675, allocations: 179.9 kB / 8.154 MB, free: 2.18 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.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001258/0.001258, allocations: 90.7 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.341e-05, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3729, allocations: 80.03 MB / 441.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.3732, allocations: 63.97 kB / 441.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04561/0.4188, allocations: 12.88 MB / 454.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.4189, allocations: 12 kB / 454.8 MB, free: 9.156 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.001527/0.4204, allocations: 1.025 MB / 455.8 MB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4205, allocations: 8.031 kB / 455.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.4207, allocations: 94.88 kB / 455.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/0.4217, allocations: 428.8 kB / 456.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.4218, allocations: 16 kB / 456.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4219, allocations: 12 kB / 456.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005476/0.4224, allocations: 196.4 kB / 456.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.4233, allocations: 335.2 kB / 456.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4233, allocations: 0 / 456.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.4234, allocations: 8 kB / 456.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4234, allocations: 0 / 456.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.4256, allocations: 0.9508 MB / 457.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.4263, allocations: 306.5 kB / 458.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.4269, allocations: 254.5 kB / 458.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4269, allocations: 7.938 kB / 458.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.4278, allocations: 0.5549 MB / 459 MB, free: 4.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.326e-06/0.4278, allocations: 0 / 459 MB, free: 4.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001366/0.4292, allocations: 0.508 MB / 459.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.4294, allocations: 277 kB / 459.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.4326, allocations: 1.246 MB / 461 MB, free: 2.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.4328, allocations: 33.7 kB / 461 MB, free: 2.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.4329, allocations: 168.9 kB / 461.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4331, allocations: 63.44 kB / 461.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.4332, allocations: 12 kB / 461.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4333, allocations: 323.9 kB / 461.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.4338, allocations: 199.9 kB / 461.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.4344, allocations: 228.8 kB / 462 MB, free: 1.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.4348, allocations: 151.9 kB / 462.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4348, allocations: 3.938 kB / 462.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001183/0.436, allocations: 471.5 kB / 462.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.436, allocations: 8 kB / 462.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4361, allocations: 0 / 462.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4361, allocations: 4 kB / 462.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.4361, allocations: 7.938 kB / 462.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4362, allocations: 4 kB / 462.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.4366, allocations: 28.62 kB / 462.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.4368, allocations: 83.94 kB / 462.8 MB, free: 0.8164 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.0003909/0.4372, allocations: 277.4 kB / 463 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.4374, allocations: 98.78 kB / 463.1 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.4381, allocations: 195.9 kB / 463.3 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.4381, allocations: 0 / 463.3 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4382, allocations: 4 kB / 463.3 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4382, allocations: 0 / 463.3 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.4411, allocations: 1.39 MB / 464.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4412, allocations: 0 / 464.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.4412, allocations: 0 / 464.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.4412, allocations: 7.891 kB / 464.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/0.4413, allocations: 27.98 kB / 464.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.4414, allocations: 4 kB / 464.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4414, allocations: 0 / 464.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001594/0.443, allocations: 0.8544 MB / 465.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.445, allocations: 0.6124 MB / 466.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.4453, allocations: 55.95 kB / 466.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/0.446, allocations: 35.98 kB / 466.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.4464, allocations: 79.89 kB / 466.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/0.4466, allocations: 103.8 kB / 466.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.002866/0.4495, allocations: 1.044 MB / 467.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008034/0.4503, allocations: 92 kB / 467.6 MB, free: 11.8 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.0003744/0.4507, allocations: 175.3 kB / 467.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4521, allocations: 0.6269 MB / 468.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4521, allocations: 4.938 kB / 468.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4533, allocations: 0.6348 MB / 469.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.4551, allocations: 203.8 kB / 469.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.4603, allocations: 1.882 MB / 471.1 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.4618, allocations: 1.117 MB / 472.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4619, allocations: 0 / 472.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of Templates: time 0.0114/0.4733, allocations: 4.787 MB / 477 MB, free: 2.219 MB / 362.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