Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009976/0.0009977, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008532, allocations: 95.97 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002477, allocations: 8 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 51.48 MB / 409.5 MB, free: 26.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08841/0.275, allocations: 82.55 MB / 492 MB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.2753, allocations: 67.97 kB / 492.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.3026, allocations: 13.55 MB / 0.4938 GB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3027, allocations: 0 / 0.4938 GB, free: 10.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.3027, allocations: 12 kB / 0.4938 GB, free: 10.38 MB / 378.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.001477/0.3042, allocations: 1.176 MB / 0.495 GB, free: 9.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3043, allocations: 8.031 kB / 0.495 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.676e-05/0.3044, allocations: 54.55 kB / 0.495 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3045, allocations: 98.83 kB / 0.4951 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.3051, allocations: 420.8 kB / 0.4955 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.3052, allocations: 12 kB / 0.4955 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.3052, allocations: 23.92 kB / 0.4956 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.3058, allocations: 359.9 kB / 0.4959 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.3058, allocations: 0 / 0.4959 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.3059, allocations: 11.98 kB / 0.4959 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3059, allocations: 7.953 kB / 0.4959 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.3063, allocations: 207.8 kB / 0.4961 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3076, allocations: 0.9549 MB / 0.497 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.3081, allocations: 311.6 kB / 0.4973 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3081, allocations: 4 kB / 0.4973 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006527/0.3088, allocations: 0.5864 MB / 0.4979 GB, free: 5.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.983e-06/0.3088, allocations: 0 / 0.4979 GB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001793/0.3106, allocations: 1.345 MB / 0.4992 GB, free: 4.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3107, allocations: 285 kB / 0.4995 GB, free: 4.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.3125, allocations: 1.277 MB / 0.5008 GB, free: 2.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.3126, allocations: 45.69 kB / 0.5008 GB, free: 2.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.3127, allocations: 118.5 kB / 0.5009 GB, free: 2.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.3128, allocations: 63.25 kB / 0.501 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.3128, allocations: 12 kB / 0.501 GB, free: 2.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3129, allocations: 330.8 kB / 0.5013 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3132, allocations: 199.8 kB / 0.5015 GB, free: 2.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.3136, allocations: 248.9 kB / 0.5017 GB, free: 1.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.314, allocations: 356.9 kB / 0.5021 GB, free: 1.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.314, allocations: 0.8438 kB / 0.5021 GB, free: 1.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001163/0.3151, allocations: 0.8505 MB / 0.5029 GB, free: 476 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.3153, allocations: 186.2 kB / 0.5031 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3153, allocations: 4 kB / 0.5031 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3153, allocations: 0 / 0.5031 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.612e-05/0.3153, allocations: 7.938 kB / 0.5031 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3153, allocations: 7.984 kB / 0.5031 GB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3157, allocations: 35.89 kB / 0.5031 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/0.3158, allocations: 87.92 kB / 0.5032 GB, free: 108 kB / 378.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.168/0.4838, allocations: 0.7883 MB / 0.504 GB, free: 95.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.484, allocations: 104.5 kB / 0.5041 GB, free: 95.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.4845, allocations: 197.8 kB / 0.5043 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4845, allocations: 2.125 kB / 0.5043 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4845, allocations: 1.219 kB / 0.5043 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4845, allocations: 3.031 kB / 0.5043 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.4877, allocations: 1.852 MB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4877, allocations: 1.062 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.4878, allocations: 4.656 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4878, allocations: 2.422 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.4878, allocations: 31.56 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4878, allocations: 2.781 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4878, allocations: 2.125 kB / 0.5061 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.4894, allocations: 1.279 MB / 0.5074 GB, free: 94.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.4906, allocations: 0.5954 MB / 0.508 GB, free: 94.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.4908, allocations: 56.89 kB / 0.508 GB, free: 94.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.4912, allocations: 34.77 kB / 0.508 GB, free: 94.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.4915, allocations: 83.8 kB / 0.5081 GB, free: 94.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.4916, allocations: 97.91 kB / 0.5082 GB, free: 94.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001996/0.4936, allocations: 1.079 MB / 0.5093 GB, free: 93.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4936, allocations: 5.062 kB / 0.5093 GB, free: 93.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007534/0.4944, allocations: 106.5 kB / 0.5094 GB, free: 93.87 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) * 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.001974/0.4963, allocations: 2.052 MB / 0.5114 GB, free: 92.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009942/0.4974, allocations: 1.001 MB / 0.5124 GB, free: 92.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4974, allocations: 3.828 kB / 0.5124 GB, free: 92.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.498, allocations: 0.8064 MB / 0.5131 GB, free: 91.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.4989, allocations: 212.6 kB / 0.5134 GB, free: 91.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.5051, allocations: 4.842 MB / 0.5181 GB, free: 88.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.5059, allocations: 1.106 MB / 0.5192 GB, free: 87.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.506, allocations: 33.3 kB / 0.5192 GB, free: 87.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.5061, allocations: 54.78 kB / 0.5192 GB, free: 87.79 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5061, allocations: 0 / 0.5192 GB, free: 87.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.5263, allocations: 10.36 MB / 0.5294 GB, free: 79.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/0.5265, allocations: 173.2 kB / 0.5295 GB, free: 79.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.278, allocations: 3.938 kB / 0.5295 GB, free: 79.15 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat