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.001608/0.001608, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009712/0.0009713, allocations: 89.31 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.477e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4653, allocations: 82.49 MB / 484.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4656, allocations: 62.91 kB / 484.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02529/0.4909, allocations: 13.6 MB / 498.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.491, allocations: 0 / 498.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.491, allocations: 20.69 kB / 498.3 MB, free: 11.19 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.001337/0.4924, allocations: 1.028 MB / 499.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.4924, allocations: 12.03 kB / 499.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.968e-05/0.4925, allocations: 54.56 kB / 499.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.4927, allocations: 98.83 kB / 499.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.4933, allocations: 408.9 kB / 499.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.4934, allocations: 16 kB / 499.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.4934, allocations: 20 kB / 499.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.494, allocations: 335.1 kB / 0.4885 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.494, allocations: 0 / 0.4885 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.4941, allocations: 11.98 kB / 0.4885 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4941, allocations: 11.95 kB / 0.4885 GB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4945, allocations: 195.8 kB / 0.4887 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.4957, allocations: 0.9547 MB / 0.4897 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.4961, allocations: 299.9 kB / 0.4899 GB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.4965, allocations: 266.5 kB / 0.4902 GB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4965, allocations: 7.938 kB / 0.4902 GB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.4971, allocations: 0.5663 MB / 0.4908 GB, free: 6.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.4971, allocations: 0 / 0.4908 GB, free: 6.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.00134/0.4985, allocations: 0.8866 MB / 0.4916 GB, free: 5.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.4986, allocations: 285 kB / 0.4919 GB, free: 5.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.5004, allocations: 1.274 MB / 0.4931 GB, free: 4.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.5005, allocations: 37.7 kB / 0.4932 GB, free: 4.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.5006, allocations: 122.5 kB / 0.4933 GB, free: 3.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5007, allocations: 67.23 kB / 0.4934 GB, free: 3.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5008, allocations: 8 kB / 0.4934 GB, free: 3.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5009, allocations: 334.8 kB / 0.4937 GB, free: 3.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.5012, allocations: 199.9 kB / 0.4939 GB, free: 3.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.5015, allocations: 230.5 kB / 0.4941 GB, free: 3.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.5018, allocations: 352 kB / 0.4944 GB, free: 2.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5019, allocations: 4 kB / 0.4944 GB, free: 2.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001098/0.503, allocations: 0.8275 MB / 0.4952 GB, free: 1.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.5031, allocations: 190.2 kB / 0.4954 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.5031, allocations: 4 kB / 0.4954 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5031, allocations: 0 / 0.4954 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.5032, allocations: 11.94 kB / 0.4954 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5032, allocations: 3.984 kB / 0.4954 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.5035, allocations: 43.81 kB / 0.4955 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.5036, allocations: 87.88 kB / 0.4956 GB, free: 1.438 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.0002703/0.5039, allocations: 356.6 kB / 0.4959 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.504, allocations: 102.8 kB / 0.496 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.5044, allocations: 196 kB / 0.4962 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5045, allocations: 8 kB / 0.4962 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5045, allocations: 0 / 0.4962 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5045, allocations: 0 / 0.4962 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.5066, allocations: 1.832 MB / 0.498 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5066, allocations: 0 / 0.498 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.5067, allocations: 8 kB / 0.498 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5067, allocations: 0 / 0.498 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.5067, allocations: 28.92 kB / 0.498 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.5067, allocations: 11.94 kB / 0.498 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5067, allocations: 0 / 0.498 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.5081, allocations: 1.257 MB / 0.4993 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009235/0.509, allocations: 0.593 MB / 0.4998 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5092, allocations: 59.95 kB / 0.4999 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.5095, allocations: 31.97 kB / 0.4999 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.5097, allocations: 83.83 kB / 0.5 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5098, allocations: 95.92 kB / 0.5001 GB, free: 12.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001419/0.5113, allocations: 1.071 MB / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5113, allocations: 0 / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.5118, allocations: 108 kB / 0.5012 GB, free: 11.38 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.001848/0.5136, allocations: 2.028 MB / 0.5032 GB, free: 9.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.5147, allocations: 0.9812 MB / 0.5042 GB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5147, allocations: 4 kB / 0.5042 GB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.5154, allocations: 0.7893 MB / 0.505 GB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5164, allocations: 216.2 kB / 0.5052 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5199, allocations: 1.991 MB / 0.5071 GB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/0.5207, allocations: 1.109 MB / 0.5082 GB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.5209, allocations: 23.27 kB / 0.5082 GB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.5209, allocations: 55.42 kB / 0.5083 GB, free: 3.898 MB / 378.7 MB Notification: Performance of SimCode: time 2.294e-06/0.521, allocations: 0 / 0.5083 GB, free: 3.898 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.5423, allocations: 10.41 MB / 0.5184 GB, free: 9.668 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.5425, allocations: 150.3 kB / 0.5186 GB, free: 9.445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.321, allocations: 0 / 0.5186 GB, free: 9.445 MB / 394.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