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.001652/0.001652, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007741/0.0007742, allocations: 96.11 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.022e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.0987, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4425, allocations: 81.81 MB / 477.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4427, allocations: 64.83 kB / 477.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02289/0.4656, allocations: 13.52 MB / 490.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4657, allocations: 0 / 490.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.4657, allocations: 15.94 kB / 490.7 MB, free: 15.89 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.001012/0.4667, allocations: 1.029 MB / 491.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4668, allocations: 12.03 kB / 491.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.4669, allocations: 94.83 kB / 491.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.4674, allocations: 418 kB / 492.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.4674, allocations: 10.56 kB / 492.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.4675, allocations: 16 kB / 492.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002765/0.4678, allocations: 191.2 kB / 492.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.4682, allocations: 318.9 kB / 492.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4682, allocations: 0 / 492.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.4683, allocations: 8 kB / 492.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4683, allocations: 3.953 kB / 492.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4694, allocations: 0.9396 MB / 493.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.4697, allocations: 283.8 kB / 494 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.4699, allocations: 255.1 kB / 494.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.47, allocations: 3.938 kB / 494.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.4706, allocations: 0.6029 MB / 494.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.4706, allocations: 0 / 494.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009845/0.4716, allocations: 0.6758 MB / 495.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.4717, allocations: 276.2 kB / 495.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.4732, allocations: 1.228 MB / 497 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.4733, allocations: 37.27 kB / 497 MB, free: 10.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.4734, allocations: 125.7 kB / 497.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.4735, allocations: 69.47 kB / 497.2 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.4735, allocations: 8 kB / 497.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4736, allocations: 331.9 kB / 497.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4739, allocations: 192.6 kB / 497.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.4742, allocations: 218 kB / 498 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.4744, allocations: 158 kB / 498.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4744, allocations: 0 / 498.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008253/0.4753, allocations: 0.6228 MB / 498.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4754, allocations: 191.1 kB / 498.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4754, allocations: 3.953 kB / 498.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4754, allocations: 4 kB / 498.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.4755, allocations: 0 / 498.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4755, allocations: 7.984 kB / 498.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4758, allocations: 35.81 kB / 499 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4759, allocations: 95.42 kB / 499.1 MB, free: 8.391 MB / 362.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.0002515/0.4762, allocations: 346.7 kB / 499.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00099/0.4771, allocations: 0.7601 MB / 0.4884 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.4773, allocations: 106.7 kB / 0.4885 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.4776, allocations: 192.1 kB / 0.4887 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4776, allocations: 4 kB / 0.4887 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4776, allocations: 3.984 kB / 0.4887 GB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4776, allocations: 3.984 kB / 0.4887 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4794, allocations: 1.561 MB / 0.4903 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4794, allocations: 3.953 kB / 0.4903 GB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.4794, allocations: 3.938 kB / 0.4903 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4794, allocations: 4 kB / 0.4903 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.4795, allocations: 27.86 kB / 0.4903 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4795, allocations: 0 / 0.4903 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4795, allocations: 0 / 0.4903 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.4806, allocations: 1.04 MB / 0.4913 GB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000752/0.4814, allocations: 0.5886 MB / 0.4919 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4815, allocations: 54.2 kB / 0.4919 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.4819, allocations: 35.91 kB / 0.492 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.482, allocations: 87.61 kB / 0.4921 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.4822, allocations: 95.3 kB / 0.4921 GB, free: 4.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.4834, allocations: 1.023 MB / 0.4931 GB, free: 3.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4834, allocations: 0 / 0.4931 GB, free: 3.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004681/0.4839, allocations: 104 kB / 0.4932 GB, free: 3.191 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) * 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.001495/0.4854, allocations: 1.795 MB / 0.495 GB, free: 1.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.4863, allocations: 0.9501 MB / 0.4959 GB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4864, allocations: 0 / 0.4959 GB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.4869, allocations: 0.7796 MB / 0.4967 GB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.488, allocations: 216.3 kB / 0.4969 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.491, allocations: 1.964 MB / 0.4988 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.4918, allocations: 1.104 MB / 0.4999 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.4919, allocations: 29.19 kB / 0.4999 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.492, allocations: 55.41 kB / 0.5 GB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.492, allocations: 4 kB / 0.5 GB, free: 12.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.521, allocations: 9.693 MB / 0.5094 GB, free: 3.332 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5212, allocations: 139.2 kB / 0.5096 GB, free: 3.141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.435, allocations: 0 / 0.5096 GB, free: 3.141 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