Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.002345/0.002345, allocations: 182.3 kB / 18.04 MB, free: 3.785 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.552/1.552, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0008019/0.0008018, allocations: 90.36 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 47.59 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3464, allocations: 80.88 MB / 457.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3466, allocations: 67.97 kB / 458 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.3763, allocations: 13.36 MB / 471.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3764, allocations: 0 / 471.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.3764, allocations: 12 kB / 471.3 MB, free: 2.258 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.001688/0.3781, allocations: 1.169 MB / 472.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3781, allocations: 8.031 kB / 472.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3783, allocations: 95.81 kB / 472.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.3789, allocations: 457.1 kB / 473.1 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.379, allocations: 20.36 kB / 473.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.379, allocations: 16.38 kB / 473.1 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.3797, allocations: 345 kB / 473.4 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3797, allocations: 8.125 kB / 473.4 MB, free: 0 / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.3798, allocations: 16 kB / 473.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3798, allocations: 7.984 kB / 473.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.3802, allocations: 199.8 kB / 473.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3817, allocations: 0.9625 MB / 474.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3822, allocations: 307.7 kB / 474.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.3826, allocations: 278.5 kB / 475.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3826, allocations: 0 / 475.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007067/0.3834, allocations: 0.5744 MB / 475.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.3834, allocations: 0 / 475.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001936/0.3853, allocations: 1.132 MB / 476.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.3855, allocations: 277 kB / 477.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3877, allocations: 1.45 MB / 478.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.3878, allocations: 45.64 kB / 478.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.3879, allocations: 114.6 kB / 478.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.388, allocations: 67.16 kB / 478.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.388, allocations: 15.92 kB / 478.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3882, allocations: 342.8 kB / 479.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.3885, allocations: 203.8 kB / 479.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3889, allocations: 246.9 kB / 479.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/0.3897, allocations: 0.7121 MB / 480.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3897, allocations: 0 / 480.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001267/0.391, allocations: 0.8622 MB / 481.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3912, allocations: 194.2 kB / 481.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3912, allocations: 0 / 481.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3912, allocations: 0 / 481.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.024e-05/0.3913, allocations: 7.938 kB / 481.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3913, allocations: 8.094 kB / 481.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.3916, allocations: 35.97 kB / 481.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.3918, allocations: 91.88 kB / 481.5 MB, free: 7.414 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.001062/0.3928, allocations: 0.7937 MB / 482.3 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.393, allocations: 102.8 kB / 482.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.3934, allocations: 195.9 kB / 482.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3934, allocations: 0 / 482.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3934, allocations: 7.938 kB / 482.6 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3934, allocations: 7.984 kB / 482.6 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.396, allocations: 1.874 MB / 484.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.396, allocations: 0 / 484.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.3961, allocations: 0 / 484.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3961, allocations: 8 kB / 484.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.3961, allocations: 27.98 kB / 484.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.3961, allocations: 0 / 484.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3961, allocations: 7.938 kB / 484.6 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.3977, allocations: 1.289 MB / 485.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/0.3986, allocations: 0.593 MB / 486.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.3988, allocations: 47.97 kB / 486.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3991, allocations: 35.97 kB / 486.5 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3993, allocations: 87.81 kB / 486.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.3995, allocations: 95.92 kB / 486.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.401, allocations: 1.079 MB / 487.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.401, allocations: 0 / 487.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005166/0.4015, allocations: 108 kB / 487.9 MB, free: 0.832 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.0002317/0.4017, allocations: 179.3 kB / 488.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.403, allocations: 1 MB / 489.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.403, allocations: 0 / 489.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.4039, allocations: 0.8048 MB / 489.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.405, allocations: 212 kB / 490.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.4084, allocations: 2.311 MB / 492.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009885/0.4094, allocations: 1.089 MB / 493.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.4095, allocations: 33.98 kB / 493.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.4096, allocations: 15.38 kB / 493.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4096, allocations: 0 / 493.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01454/0.4241, allocations: 8.237 MB / 0.49 GB, free: 2.734 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches