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.001418/0.001418, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009204/0.0009205, allocations: 82.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.303e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4441, allocations: 80.33 MB / 443.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4443, allocations: 67.77 kB / 443.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02685/0.4712, allocations: 13.32 MB / 456.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4712, allocations: 0 / 456.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.589e-05/0.4713, allocations: 12 kB / 456.8 MB, free: 4.066 MB / 330.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.00141/0.4727, allocations: 1.022 MB / 457.8 MB, free: 3.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4727, allocations: 8.031 kB / 457.8 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.473, allocations: 106.7 kB / 457.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.4736, allocations: 410.3 kB / 458.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.4737, allocations: 11.25 kB / 458.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.4737, allocations: 16 kB / 458.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003115/0.4741, allocations: 183.1 kB / 458.5 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.4745, allocations: 326.1 kB / 458.9 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4745, allocations: 4 kB / 458.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.4746, allocations: 7.984 kB / 458.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4746, allocations: 7.953 kB / 458.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.4759, allocations: 0.9218 MB / 459.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.4763, allocations: 293.9 kB / 460.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.4766, allocations: 254.7 kB / 460.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.4766, allocations: 0 / 460.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006117/0.4772, allocations: 0.6172 MB / 461 MB, free: 220 kB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.4772, allocations: 0 / 461 MB, free: 220 kB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001057/0.4783, allocations: 0.681 MB / 461.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4784, allocations: 276.5 kB / 461.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.4802, allocations: 1.225 MB / 463.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.4803, allocations: 41.69 kB / 463.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.4803, allocations: 122.8 kB / 463.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.4804, allocations: 62.64 kB / 463.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.4805, allocations: 7.188 kB / 463.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.4806, allocations: 336.8 kB / 463.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.4808, allocations: 188.4 kB / 463.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.4811, allocations: 232.1 kB / 464.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.4812, allocations: 149.5 kB / 464.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4813, allocations: 0 / 464.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008646/0.4821, allocations: 0.619 MB / 464.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.4823, allocations: 188.5 kB / 465 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.4823, allocations: 7.938 kB / 465.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4823, allocations: 0 / 465.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.582e-05/0.4823, allocations: 4 kB / 465.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4824, allocations: 0 / 465.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4827, allocations: 42.25 kB / 465.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4828, allocations: 87.88 kB / 465.2 MB, free: 12.55 MB / 346.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.0002717/0.4831, allocations: 351.2 kB / 465.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4832, allocations: 98.88 kB / 465.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.4835, allocations: 195.8 kB / 465.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.4835, allocations: 11.94 kB / 465.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4836, allocations: 0 / 465.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4836, allocations: 0 / 465.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4855, allocations: 1.566 MB / 467.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4855, allocations: 0 / 467.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-06/0.4855, allocations: 0 / 467.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4855, allocations: 0 / 467.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.4856, allocations: 31.69 kB / 467.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4856, allocations: 11.94 kB / 467.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4856, allocations: 0 / 467.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4868, allocations: 1.034 MB / 468.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.4876, allocations: 0.5935 MB / 469.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.4878, allocations: 49.91 kB / 469.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.4882, allocations: 39.86 kB / 469.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.4884, allocations: 93.25 kB / 469.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4885, allocations: 95.23 kB / 469.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.4898, allocations: 1.022 MB / 470.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4898, allocations: 0 / 470.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.4903, allocations: 104 kB / 470.5 MB, free: 7.934 MB / 346.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.0002233/0.4905, allocations: 177 kB / 470.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.4915, allocations: 0.9458 MB / 471.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4915, allocations: 4 kB / 471.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.4921, allocations: 0.7809 MB / 472.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.493, allocations: 207 kB / 472.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.4956, allocations: 1.789 MB / 474.4 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.4965, allocations: 1.107 MB / 475.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.4967, allocations: 33.11 kB / 475.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4967, allocations: 11.44 kB / 475.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4967, allocations: 3.938 kB / 475.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of Templates: time 0.01138/0.5081, allocations: 7.732 MB / 483.2 MB, free: 11.68 MB / 362.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/jenkins/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