Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 180.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 240.3 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 83.62 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003323, allocations: 11.92 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2728, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3769, allocations: 81.74 MB / 483.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.3771, allocations: 75.94 kB / 483.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02679/0.4039, allocations: 13.49 MB / 496.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.404, allocations: 0 / 496.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.404, allocations: 12 kB / 496.8 MB, free: 1.25 MB / 362.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.001403/0.4054, allocations: 1.177 MB / 498 MB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4055, allocations: 8.031 kB / 498 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4056, allocations: 90.88 kB / 498.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.4062, allocations: 428.5 kB / 498.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.4063, allocations: 12 kB / 498.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.4063, allocations: 16 kB / 498.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.407, allocations: 343.9 kB / 498.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.407, allocations: 3.938 kB / 498.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.4071, allocations: 12 kB / 498.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4071, allocations: 4 kB / 498.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.4075, allocations: 195.8 kB / 499.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.4089, allocations: 0.9665 MB / 0.4883 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.4094, allocations: 315.7 kB / 0.4886 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4094, allocations: 8.031 kB / 0.4886 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007328/0.4102, allocations: 0.5745 MB / 0.4892 GB, free: 12.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.797e-06/0.4102, allocations: 0 / 0.4892 GB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002054/0.4123, allocations: 1.361 MB / 0.4905 GB, free: 11.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.4124, allocations: 277 kB / 0.4908 GB, free: 11.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4141, allocations: 1.274 MB / 0.492 GB, free: 9.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.4141, allocations: 45.69 kB / 0.4921 GB, free: 9.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.4142, allocations: 122.4 kB / 0.4922 GB, free: 9.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.4143, allocations: 67.48 kB / 0.4923 GB, free: 9.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.4143, allocations: 4 kB / 0.4923 GB, free: 9.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4145, allocations: 338.8 kB / 0.4926 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.4149, allocations: 203.7 kB / 0.4928 GB, free: 8.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.4152, allocations: 244.9 kB / 0.493 GB, free: 8.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.4156, allocations: 350.1 kB / 0.4933 GB, free: 8.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4156, allocations: 0 / 0.4933 GB, free: 8.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001214/0.4168, allocations: 0.8428 MB / 0.4942 GB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.417, allocations: 190.2 kB / 0.4943 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.417, allocations: 4 kB / 0.4943 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.417, allocations: 3.938 kB / 0.4944 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.23e-05/0.4171, allocations: 7.938 kB / 0.4944 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4171, allocations: 11.94 kB / 0.4944 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.4174, allocations: 31.89 kB / 0.4944 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4175, allocations: 99.91 kB / 0.4945 GB, free: 7.051 MB / 378.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.0008649/0.4184, allocations: 0.7897 MB / 0.4953 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.4185, allocations: 98.88 kB / 0.4954 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.4188, allocations: 195.9 kB / 0.4955 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4188, allocations: 4 kB / 0.4956 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4188, allocations: 0 / 0.4956 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4188, allocations: 4.234 kB / 0.4956 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.4211, allocations: 1.859 MB / 0.4974 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4211, allocations: 4 kB / 0.4974 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.4212, allocations: 0 / 0.4974 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4212, allocations: 0 / 0.4974 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.4212, allocations: 31.98 kB / 0.4974 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.4212, allocations: 7.938 kB / 0.4974 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4213, allocations: 3.953 kB / 0.4974 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.4228, allocations: 1.27 MB / 0.4987 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/0.4237, allocations: 0.6046 MB / 0.4992 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4239, allocations: 51.97 kB / 0.4993 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.4242, allocations: 35.91 kB / 0.4993 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.4244, allocations: 83.88 kB / 0.4994 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4245, allocations: 107.8 kB / 0.4995 GB, free: 1.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001382/0.4259, allocations: 1.079 MB / 0.5006 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4259, allocations: 0 / 0.5006 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005098/0.4265, allocations: 108 kB / 0.5007 GB, free: 496 kB / 378.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.0002429/0.4267, allocations: 179.3 kB / 0.5008 GB, free: 308 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1969/0.6236, allocations: 0.9971 MB / 0.5018 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.6237, allocations: 3.312 kB / 0.5018 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.6248, allocations: 0.8026 MB / 0.5026 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.626, allocations: 202.9 kB / 0.5028 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.631, allocations: 2.308 MB / 0.505 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.6324, allocations: 1.102 MB / 0.5061 GB, free: 99.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.6328, allocations: 31.84 kB / 0.5062 GB, free: 99.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.6328, allocations: 14.34 kB / 0.5062 GB, free: 99.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6328, allocations: 0.5312 kB / 0.5062 GB, free: 99.57 MB / 378.7 MB Notification: Performance of Templates: time 0.0118/0.6446, allocations: 8.167 MB / 0.5141 GB, free: 97.41 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches