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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001115/0.001115, allocations: 88.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 12 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4537, allocations: 80.86 MB / 455.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.454, allocations: 71.97 kB / 455.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04545/0.4995, allocations: 13.35 MB / 468.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.109e-06/0.4995, allocations: 4 kB / 468.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.4995, allocations: 12 kB / 468.8 MB, free: 2.453 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.001654/0.5012, allocations: 1.176 MB / 470 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5013, allocations: 12.03 kB / 470 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.5015, allocations: 94.83 kB / 470.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.5022, allocations: 420.8 kB / 470.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.5023, allocations: 12 kB / 470.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.5024, allocations: 20 kB / 470.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.5033, allocations: 352.4 kB / 470.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5034, allocations: 0 / 470.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.5034, allocations: 12 kB / 470.9 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5034, allocations: 4 kB / 470.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.5041, allocations: 211.7 kB / 471.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.506, allocations: 0.9587 MB / 472.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.5068, allocations: 307.8 kB / 472.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.5068, allocations: 7.953 kB / 472.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.5079, allocations: 0.5768 MB / 473 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/0.5079, allocations: 0 / 473 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.003177/0.5111, allocations: 1.353 MB / 474.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.5113, allocations: 281 kB / 474.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.5142, allocations: 1.277 MB / 475.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.5143, allocations: 41.69 kB / 475.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.5144, allocations: 176.9 kB / 476.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.5146, allocations: 67.25 kB / 476.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.5146, allocations: 8 kB / 476.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5148, allocations: 326.8 kB / 476.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.5154, allocations: 203.8 kB / 476.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.5161, allocations: 243.2 kB / 476.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.5168, allocations: 362 kB / 477.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5168, allocations: 0 / 477.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002089/0.5189, allocations: 0.8273 MB / 478.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5191, allocations: 195.7 kB / 478.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5191, allocations: 8.203 kB / 478.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5191, allocations: 4 kB / 478.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.178e-05/0.5192, allocations: 4 kB / 478.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5192, allocations: 0 / 478.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.5197, allocations: 39.88 kB / 478.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.5199, allocations: 91.88 kB / 478.4 MB, free: 8.223 MB / 362.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.001447/0.5214, allocations: 0.7936 MB / 479.2 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.5216, allocations: 98.86 kB / 479.3 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.522, allocations: 199.9 kB / 479.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.522, allocations: 0 / 479.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5221, allocations: 4 kB / 479.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5221, allocations: 3.938 kB / 479.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.5259, allocations: 1.863 MB / 481.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5259, allocations: 0 / 481.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.5259, allocations: 7.953 kB / 481.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5259, allocations: 0 / 481.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.526, allocations: 27.98 kB / 481.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.526, allocations: 0 / 481.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5261, allocations: 0 / 481.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.5287, allocations: 1.298 MB / 482.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.5303, allocations: 0.5852 MB / 483.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.5305, allocations: 59.95 kB / 483.3 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.5312, allocations: 31.88 kB / 483.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.5315, allocations: 79.89 kB / 483.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.5316, allocations: 100.1 kB / 483.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002435/0.5341, allocations: 1.079 MB / 484.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5341, allocations: 0 / 484.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.5349, allocations: 108 kB / 484.7 MB, free: 1.66 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) * 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.000307/0.5352, allocations: 175.1 kB / 484.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.5372, allocations: 1.004 MB / 485.9 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5372, allocations: 192 / 485.9 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.5385, allocations: 0.8093 MB / 486.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.54, allocations: 212.1 kB / 486.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.5451, allocations: 2.391 MB / 489.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5463, allocations: 1.105 MB / 490.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.5464, allocations: 15.44 kB / 490.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5464, allocations: 0 / 490.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01187/0.5583, allocations: 5.133 MB / 495.6 MB, free: 6.598 MB / 378.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