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.001342/0.001342, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.352/1.352, allocations: 221.3 MB / 235.5 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 89.89 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.127e-05, allocations: 0 / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.08081, allocations: 50.41 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.3466, allocations: 81.67 MB / 475.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.3468, allocations: 67.8 kB / 476 MB, free: 5.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.3732, allocations: 13.53 MB / 489.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3732, allocations: 0 / 489.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3732, allocations: 15.94 kB / 489.5 MB, free: 8.328 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.000971/0.3742, allocations: 1.022 MB / 490.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3743, allocations: 8.031 kB / 490.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.3744, allocations: 98.78 kB / 490.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.3749, allocations: 420.8 kB / 491.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.375, allocations: 19.94 kB / 491.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.375, allocations: 24 kB / 491.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3755, allocations: 335.9 kB / 491.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3756, allocations: 0 / 491.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.3756, allocations: 8 kB / 491.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3756, allocations: 4 kB / 491.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.376, allocations: 195.8 kB / 491.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3771, allocations: 0.9665 MB / 492.6 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.3775, allocations: 303.8 kB / 492.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.3778, allocations: 262.5 kB / 493.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3779, allocations: 0 / 493.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.3785, allocations: 0.577 MB / 493.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.3785, allocations: 0 / 493.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001187/0.3797, allocations: 0.8928 MB / 494.6 MB, free: 2.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3798, allocations: 277 kB / 494.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.3814, allocations: 1.274 MB / 496.2 MB, free: 1.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.3814, allocations: 37.69 kB / 496.2 MB, free: 1.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.3815, allocations: 130.4 kB / 496.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.3816, allocations: 63.31 kB / 496.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3817, allocations: 8 kB / 496.4 MB, free: 1.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3818, allocations: 334.8 kB / 496.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.3821, allocations: 203.8 kB / 496.9 MB, free: 480 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.3825, allocations: 234.2 kB / 497.1 MB, free: 236 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.383, allocations: 350 kB / 497.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.383, allocations: 8 kB / 497.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00111/0.3841, allocations: 0.8271 MB / 498.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.3842, allocations: 186.2 kB / 498.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3843, allocations: 4 kB / 498.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3843, allocations: 0 / 498.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.939e-05/0.3843, allocations: 7.984 kB / 498.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3843, allocations: 3.953 kB / 498.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.3846, allocations: 39.83 kB / 498.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3848, allocations: 91.92 kB / 498.7 MB, free: 14.61 MB / 378.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.0003001/0.3851, allocations: 348.7 kB / 499 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3852, allocations: 98.88 kB / 499.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.3855, allocations: 192.1 kB / 499.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3855, allocations: 4 kB / 499.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3855, allocations: 0 / 499.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3855, allocations: 7.938 kB / 499.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3877, allocations: 1.839 MB / 0.4894 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3877, allocations: 0 / 0.4894 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.3878, allocations: 4 kB / 0.4894 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3878, allocations: 7.922 kB / 0.4894 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.3878, allocations: 27.98 kB / 0.4894 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3878, allocations: 0 / 0.4894 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3879, allocations: 7.953 kB / 0.4894 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3893, allocations: 1.269 MB / 0.4907 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/0.3903, allocations: 0.593 MB / 0.4912 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.3904, allocations: 55.95 kB / 0.4913 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.3908, allocations: 35.88 kB / 0.4913 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.391, allocations: 87.88 kB / 0.4914 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.3911, allocations: 99.86 kB / 0.4915 GB, free: 9.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001362/0.3925, allocations: 1.071 MB / 0.4926 GB, free: 8.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3925, allocations: 0 / 0.4926 GB, free: 8.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.393, allocations: 108 kB / 0.4927 GB, free: 8.535 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) * 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.0002362/0.3932, allocations: 171.3 kB / 0.4928 GB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3943, allocations: 0.9847 MB / 0.4938 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3943, allocations: 0 / 0.4938 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.395, allocations: 0.7971 MB / 0.4946 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3959, allocations: 203 kB / 0.4948 GB, free: 6.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3983, allocations: 1.8 MB / 0.4965 GB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.3992, allocations: 1.102 MB / 0.4976 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.3993, allocations: 41.03 kB / 0.4976 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.3993, allocations: 15.53 kB / 0.4976 GB, free: 3.215 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3993, allocations: 3.938 kB / 0.4977 GB, free: 3.211 MB / 378.7 MB Notification: Performance of Templates: time 0.01071/0.41, allocations: 8.159 MB / 0.5056 GB, free: 11.07 MB / 394.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/jenkins/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