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.00145/0.001449, allocations: 175.7 kB / 17.4 MB, free: 4.301 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.565/1.565, allocations: 223.3 MB / 241.4 MB, free: 9.941 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.0007925/0.0007928, allocations: 100.2 kB / 292.6 MB, free: 10.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 8 kB / 352.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3275, allocations: 50.41 MB / 402.7 MB, free: 32.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4475, allocations: 81.77 MB / 484.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4478, allocations: 73.95 kB / 484.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02939/0.4772, allocations: 13.49 MB / 498.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4772, allocations: 0 / 498.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.4772, allocations: 8 kB / 498.1 MB, free: 0.9961 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.002128/0.4794, allocations: 1.165 MB / 499.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4794, allocations: 12.03 kB / 499.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.4797, allocations: 95.81 kB / 499.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.4805, allocations: 461.1 kB / 499.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4806, allocations: 16.38 kB / 499.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.4807, allocations: 12.38 kB / 499.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.4814, allocations: 348.5 kB / 0.4885 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4814, allocations: 192 / 0.4885 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.4815, allocations: 15.94 kB / 0.4885 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4815, allocations: 0 / 0.4885 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.4819, allocations: 207.8 kB / 0.4887 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.4837, allocations: 0.9587 MB / 0.4896 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.4842, allocations: 311.8 kB / 0.4899 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.4847, allocations: 266.7 kB / 0.4902 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4847, allocations: 0 / 0.4902 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007986/0.4856, allocations: 0.5901 MB / 0.4907 GB, free: 12.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.975e-06/0.4856, allocations: 3.938 kB / 0.4907 GB, free: 12.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002248/0.4878, allocations: 1.131 MB / 0.4918 GB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.4881, allocations: 281 kB / 0.4921 GB, free: 10.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4908, allocations: 1.45 MB / 0.4935 GB, free: 9.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.4909, allocations: 41.69 kB / 0.4936 GB, free: 9.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.491, allocations: 114.6 kB / 0.4937 GB, free: 9.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.4912, allocations: 71.09 kB / 0.4937 GB, free: 9.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.4912, allocations: 12 kB / 0.4938 GB, free: 9.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4913, allocations: 338.8 kB / 0.4941 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.4917, allocations: 195.7 kB / 0.4943 GB, free: 8.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.4921, allocations: 252.9 kB / 0.4945 GB, free: 8.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.493, allocations: 0.7043 MB / 0.4952 GB, free: 7.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.493, allocations: 0 / 0.4952 GB, free: 7.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001373/0.4944, allocations: 0.8545 MB / 0.496 GB, free: 6.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.4946, allocations: 194.2 kB / 0.4962 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4946, allocations: 3.938 kB / 0.4962 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.4947, allocations: 4 kB / 0.4962 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.561e-05/0.4947, allocations: 4 kB / 0.4962 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.4947, allocations: 7.922 kB / 0.4962 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.4952, allocations: 35.89 kB / 0.4963 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4953, allocations: 96.02 kB / 0.4964 GB, free: 6.16 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.001579/0.4969, allocations: 0.7935 MB / 0.4971 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.4971, allocations: 102.7 kB / 0.4972 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.4977, allocations: 200.2 kB / 0.4974 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4977, allocations: 0 / 0.4974 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.4978, allocations: 7.984 kB / 0.4974 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4978, allocations: 0 / 0.4974 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.501, allocations: 1.874 MB / 0.4993 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5011, allocations: 0 / 0.4993 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.5011, allocations: 7.984 kB / 0.4993 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5011, allocations: 0 / 0.4993 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.5011, allocations: 27.98 kB / 0.4993 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5012, allocations: 0 / 0.4993 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.5012, allocations: 11.88 kB / 0.4993 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.5031, allocations: 1.277 MB / 0.5006 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.5044, allocations: 0.5891 MB / 0.5011 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.5046, allocations: 55.95 kB / 0.5012 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.505, allocations: 35.97 kB / 0.5012 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.5053, allocations: 91.77 kB / 0.5013 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.5054, allocations: 99.84 kB / 0.5014 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2719/0.7773, allocations: 1.077 MB / 0.5024 GB, free: 100.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.7773, allocations: 0 / 0.5024 GB, free: 100.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000887/0.7782, allocations: 109.5 kB / 0.5026 GB, free: 100.9 MB / 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.0003052/0.7785, allocations: 168.2 kB / 0.5027 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.7802, allocations: 1.001 MB / 0.5037 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7802, allocations: 0 / 0.5037 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.7811, allocations: 0.8023 MB / 0.5045 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.7824, allocations: 217.6 kB / 0.5047 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.7864, allocations: 2.313 MB / 0.5069 GB, free: 99.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.7871, allocations: 1.081 MB / 0.508 GB, free: 98.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.7873, allocations: 38.75 kB / 0.508 GB, free: 98.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.7874, allocations: 18.98 kB / 0.5081 GB, free: 98.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7874, allocations: 0 / 0.5081 GB, free: 98.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01032/0.7977, allocations: 8.23 MB / 0.5161 GB, free: 96.21 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/jenkins1/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