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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008068/0.0008068, allocations: 93.47 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.605e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09045, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3767, allocations: 81.82 MB / 477 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.3769, allocations: 73.16 kB / 477 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.3988, allocations: 13.51 MB / 490.6 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3988, allocations: 0 / 490.6 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3989, allocations: 19.94 kB / 490.6 MB, free: 136 kB / 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.0008945/0.3998, allocations: 1.033 MB / 491.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3998, allocations: 8.031 kB / 491.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.3999, allocations: 98.83 kB / 491.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.4004, allocations: 406.6 kB / 492.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.4004, allocations: 15.75 kB / 492.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.4005, allocations: 12 kB / 492.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002605/0.4008, allocations: 182.8 kB / 492.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4012, allocations: 324.5 kB / 492.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4012, allocations: 0 / 492.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.4012, allocations: 15.97 kB / 492.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4013, allocations: 7.953 kB / 492.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.4023, allocations: 0.9177 MB / 493.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.4026, allocations: 288.8 kB / 493.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.4029, allocations: 250.1 kB / 494.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.4029, allocations: 4 kB / 494.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.4034, allocations: 0.6158 MB / 494.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.4034, allocations: 0 / 494.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009592/0.4044, allocations: 0.6716 MB / 495.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4045, allocations: 284.1 kB / 495.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4059, allocations: 1.219 MB / 496.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.406, allocations: 45.12 kB / 496.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.4061, allocations: 118.2 kB / 497 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.4061, allocations: 63.14 kB / 497.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.4062, allocations: 4 kB / 497.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4063, allocations: 339.8 kB / 497.4 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.4065, allocations: 190.7 kB / 497.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.4068, allocations: 216.4 kB / 497.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.407, allocations: 155.7 kB / 498 MB, free: 9.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.407, allocations: 4 kB / 498 MB, free: 9.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008147/0.4078, allocations: 0.6158 MB / 498.6 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.4079, allocations: 189.1 kB / 498.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4079, allocations: 13.91 kB / 498.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.408, allocations: 3.984 kB / 498.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.408, allocations: 7.938 kB / 498.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.408, allocations: 0 / 498.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4083, allocations: 43.31 kB / 498.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.4084, allocations: 84.12 kB / 498.9 MB, free: 8.641 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.0002449/0.4086, allocations: 351.4 kB / 499.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.4087, allocations: 102.8 kB / 499.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.409, allocations: 198.2 kB / 499.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.409, allocations: 7.953 kB / 499.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.409, allocations: 0 / 499.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.409, allocations: 0 / 499.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4106, allocations: 1.558 MB / 0.4894 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4107, allocations: 4 kB / 0.4894 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.4107, allocations: 4 kB / 0.4894 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4107, allocations: 0 / 0.4894 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.4107, allocations: 31.38 kB / 0.4894 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4107, allocations: 4 kB / 0.4894 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4108, allocations: 4 kB / 0.4894 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4118, allocations: 1.043 MB / 0.4905 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.4125, allocations: 0.5902 MB / 0.491 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4127, allocations: 50.72 kB / 0.4911 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.413, allocations: 31.88 kB / 0.4911 GB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4132, allocations: 88.23 kB / 0.4912 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/0.4133, allocations: 99.36 kB / 0.4913 GB, free: 5.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.4145, allocations: 1.027 MB / 0.4923 GB, free: 4.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4145, allocations: 4 kB / 0.4923 GB, free: 4.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.4149, allocations: 104 kB / 0.4924 GB, free: 4.027 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.0001992/0.4152, allocations: 173.3 kB / 0.4926 GB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.416, allocations: 0.9527 MB / 0.4935 GB, free: 3.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.416, allocations: 0 / 0.4935 GB, free: 3.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.4166, allocations: 0.7768 MB / 0.4943 GB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/0.4175, allocations: 215.6 kB / 0.4945 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4197, allocations: 1.781 MB / 0.4962 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.4205, allocations: 1.111 MB / 0.4973 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.4206, allocations: 33.16 kB / 0.4973 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.4206, allocations: 15.44 kB / 0.4973 GB, free: 15.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4206, allocations: 0 / 0.4973 GB, free: 15.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01075/0.4314, allocations: 7.734 MB / 0.5049 GB, free: 7.859 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