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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 180 kB / 17.01 MB, free: 5.125 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.474/1.474, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008352/0.0008352, allocations: 98.64 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2561, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3584, allocations: 80.86 MB / 456.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.3589, allocations: 67.97 kB / 456.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.3863, allocations: 13.34 MB / 470.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3864, allocations: 4 kB / 470.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.3864, allocations: 12 kB / 470.2 MB, free: 2.355 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.001413/0.3878, allocations: 1.18 MB / 471.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.3879, allocations: 12.02 kB / 471.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.33e-05/0.388, allocations: 46.56 kB / 471.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.3882, allocations: 98.83 kB / 471.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.3888, allocations: 420.8 kB / 471.9 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.3889, allocations: 16 kB / 471.9 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3889, allocations: 16 kB / 472 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.3895, allocations: 352.4 kB / 472.3 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3896, allocations: 0 / 472.3 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.3896, allocations: 15.94 kB / 472.3 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3896, allocations: 7.953 kB / 472.3 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.39, allocations: 207.8 kB / 472.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3915, allocations: 0.9587 MB / 473.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.392, allocations: 311.8 kB / 473.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.392, allocations: 0 / 473.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.3927, allocations: 0.5768 MB / 474.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.3927, allocations: 0 / 474.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001898/0.3946, allocations: 1.353 MB / 475.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.3948, allocations: 281 kB / 476 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.3966, allocations: 1.281 MB / 477.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3967, allocations: 41.69 kB / 477.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3967, allocations: 118.5 kB / 477.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.3968, allocations: 72.03 kB / 477.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3969, allocations: 8 kB / 477.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.397, allocations: 338.8 kB / 477.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.3973, allocations: 199.8 kB / 478 MB, free: 9.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3977, allocations: 247.2 kB / 478.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.3981, allocations: 358 kB / 478.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3981, allocations: 0 / 478.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001207/0.3993, allocations: 0.8427 MB / 479.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3995, allocations: 190.2 kB / 479.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3995, allocations: 4.219 kB / 479.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3995, allocations: 8.094 kB / 479.7 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.293e-05/0.3995, allocations: 7.984 kB / 479.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3996, allocations: 0 / 479.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3999, allocations: 31.89 kB / 479.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.4, allocations: 99.86 kB / 479.8 MB, free: 8.086 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.001128/0.4012, allocations: 0.7896 MB / 480.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4013, allocations: 106.7 kB / 480.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.4018, allocations: 203.9 kB / 480.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4018, allocations: 0 / 480.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4018, allocations: 4 kB / 480.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4018, allocations: 0 / 480.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.4048, allocations: 1.847 MB / 482.8 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4048, allocations: 3.953 kB / 482.8 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.4048, allocations: 4 kB / 482.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4048, allocations: 4 kB / 482.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.4049, allocations: 27.98 kB / 482.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4049, allocations: 0 / 482.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4049, allocations: 0 / 482.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4065, allocations: 1.29 MB / 484.1 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.4076, allocations: 0.597 MB / 484.7 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4078, allocations: 51.91 kB / 484.7 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.4083, allocations: 39.95 kB / 484.8 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.4085, allocations: 79.89 kB / 484.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.4086, allocations: 96.06 kB / 484.9 MB, free: 2.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00167/0.4103, allocations: 1.079 MB / 486 MB, free: 1.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4103, allocations: 0 / 486 MB, free: 1.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005364/0.4108, allocations: 112 kB / 486.1 MB, free: 1.527 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.002016/0.4129, allocations: 2.04 MB / 488.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4141, allocations: 0.9999 MB / 489.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4141, allocations: 0 / 489.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.4148, allocations: 0.8053 MB / 490 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.4157, allocations: 216.1 kB / 490.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.4222, allocations: 4.848 MB / 495 MB, free: 8.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.4231, allocations: 1.101 MB / 496.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.4233, allocations: 25.39 kB / 496.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.4234, allocations: 59.42 kB / 496.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4234, allocations: 0 / 496.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/0.6035, allocations: 10.37 MB / 0.4947 GB, free: 111.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/0.6036, allocations: 177.7 kB / 0.4949 GB, free: 111.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.406, allocations: 0 / 0.4949 GB, free: 111.5 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat