Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009223/0.0009224, allocations: 199.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.5 MB / 245.4 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007266/0.0007266, allocations: 97.39 kB / 297.4 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002215/0.0002215, allocations: 8 kB / 357.4 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2237, allocations: 51.3 MB / 408.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3347, allocations: 82.48 MB / 491.1 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.3349, allocations: 67.97 kB / 491.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02706/0.362, allocations: 13.55 MB / 0.4929 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3621, allocations: 0 / 0.4929 GB, free: 11.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3621, allocations: 12 kB / 0.4929 GB, free: 11.62 MB / 378.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.001197/0.3633, allocations: 1.161 MB / 0.4941 GB, free: 10.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3633, allocations: 8.031 kB / 0.4941 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3635, allocations: 95.81 kB / 0.4942 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.364, allocations: 457.1 kB / 0.4946 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.364, allocations: 16.38 kB / 0.4946 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.3641, allocations: 20.38 kB / 0.4946 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.3647, allocations: 352.4 kB / 0.495 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3647, allocations: 192 / 0.495 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.3647, allocations: 15.92 kB / 0.495 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3647, allocations: 0 / 0.495 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.3651, allocations: 215.7 kB / 0.4952 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3663, allocations: 0.9587 MB / 0.4961 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.3668, allocations: 311.6 kB / 0.4964 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.3672, allocations: 270.5 kB / 0.4967 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3672, allocations: 0 / 0.4967 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.3679, allocations: 0.5875 MB / 0.4973 GB, free: 6.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.282e-06/0.3679, allocations: 0 / 0.4973 GB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001796/0.3697, allocations: 1.119 MB / 0.4984 GB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.3699, allocations: 285 kB / 0.4986 GB, free: 5.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.3717, allocations: 1.45 MB / 0.5001 GB, free: 3.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.3717, allocations: 45.69 kB / 0.5001 GB, free: 3.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.3718, allocations: 118.6 kB / 0.5002 GB, free: 3.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.847e-05/0.3719, allocations: 67.16 kB / 0.5003 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3719, allocations: 8 kB / 0.5003 GB, free: 3.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3721, allocations: 338.8 kB / 0.5006 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3724, allocations: 195.9 kB / 0.5008 GB, free: 3.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.3728, allocations: 252.8 kB / 0.501 GB, free: 2.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.3736, allocations: 0.712 MB / 0.5017 GB, free: 2.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3736, allocations: 0.8438 kB / 0.5017 GB, free: 2.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001223/0.3748, allocations: 0.8546 MB / 0.5026 GB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3749, allocations: 194.2 kB / 0.5027 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.375, allocations: 0 / 0.5027 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.375, allocations: 4 kB / 0.5028 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.375, allocations: 3.984 kB / 0.5028 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.375, allocations: 4 kB / 0.5028 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.3753, allocations: 39.83 kB / 0.5028 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3754, allocations: 91.92 kB / 0.5029 GB, free: 0.793 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.1529/0.5284, allocations: 0.7976 MB / 0.5037 GB, free: 97.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5286, allocations: 103.2 kB / 0.5038 GB, free: 97.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.5291, allocations: 195.7 kB / 0.5039 GB, free: 97.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5291, allocations: 2.688 kB / 0.504 GB, free: 97.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5291, allocations: 0.9688 kB / 0.504 GB, free: 97.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5291, allocations: 1.391 kB / 0.504 GB, free: 97.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.5316, allocations: 1.873 MB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5316, allocations: 0.8125 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.5316, allocations: 5.875 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5316, allocations: 3.094 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.5317, allocations: 28.56 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5317, allocations: 5.125 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5317, allocations: 0.7031 kB / 0.5058 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5331, allocations: 1.281 MB / 0.5071 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.5339, allocations: 0.591 MB / 0.5077 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.534, allocations: 57.75 kB / 0.5077 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.5344, allocations: 36.17 kB / 0.5077 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.5346, allocations: 85.09 kB / 0.5078 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5347, allocations: 98.42 kB / 0.5079 GB, free: 95.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.5361, allocations: 1.076 MB / 0.509 GB, free: 95.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5361, allocations: 0.5625 kB / 0.509 GB, free: 95.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.5367, allocations: 110.3 kB / 0.5091 GB, free: 95.38 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.0002244/0.5369, allocations: 175.4 kB / 0.5092 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.538, allocations: 0.9995 MB / 0.5102 GB, free: 94.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.538, allocations: 3.531 kB / 0.5102 GB, free: 94.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.5386, allocations: 0.8044 MB / 0.511 GB, free: 94.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.5396, allocations: 219.5 kB / 0.5112 GB, free: 94.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.5419, allocations: 2.399 MB / 0.5136 GB, free: 93.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.5425, allocations: 1.079 MB / 0.5146 GB, free: 92.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.5425, allocations: 14.75 kB / 0.5146 GB, free: 92.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5425, allocations: 0 / 0.5146 GB, free: 92.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005319/0.5478, allocations: 5.231 MB / 0.5197 GB, free: 90.44 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches