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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 96.97 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 206.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 4 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001653/0.1311, allocations: 1.187 MB / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1328, allocations: 0.8621 MB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.1329, allocations: 7.938 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.133, allocations: 11.92 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.1331, allocations: 23.91 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1334, allocations: 35.89 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1336, allocations: 155.8 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1338, allocations: 53.7 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.1341, allocations: 287.4 kB / 360.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1344, allocations: 159.6 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.1344, allocations: 8 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.1345, allocations: 12 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1347, allocations: 183.3 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1348, allocations: 145.3 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.1355, allocations: 0.7993 MB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1356, allocations: 0 / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1356, allocations: 0 / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1356, allocations: 0 / 362.1 MB, free: 9.863 MB / 302.1 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.001354/0.1369, allocations: 1.145 MB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.137, allocations: 12.03 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.827e-05/0.1371, allocations: 50.48 kB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1372, allocations: 98.88 kB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.1379, allocations: 436.6 kB / 363.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.138, allocations: 19.95 kB / 363.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.138, allocations: 12 kB / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.1386, allocations: 315.9 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1386, allocations: 0 / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.1386, allocations: 8 kB / 364.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1386, allocations: 4 kB / 364.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.1389, allocations: 171.8 kB / 364.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1402, allocations: 0.9353 MB / 365.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.1406, allocations: 271.7 kB / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1407, allocations: 3.984 kB / 365.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000614/0.1413, allocations: 0.5195 MB / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.252e-06/0.1413, allocations: 0 / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.001762/0.1431, allocations: 1.252 MB / 367.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.1432, allocations: 285 kB / 367.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.1452, allocations: 1.45 MB / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.1453, allocations: 37.7 kB / 369.1 MB, free: 2.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1454, allocations: 122.5 kB / 369.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.1455, allocations: 71.23 kB / 369.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.1455, allocations: 11.94 kB / 369.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1456, allocations: 338.8 kB / 369.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.1459, allocations: 155.9 kB / 369.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1462, allocations: 212.9 kB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1466, allocations: 342 kB / 370.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1466, allocations: 0 / 370.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001088/0.1477, allocations: 0.7764 MB / 371.1 MB, free: 260 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.1478, allocations: 190.2 kB / 371.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1478, allocations: 4 kB / 371.3 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1479, allocations: 0 / 371.3 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/0.1479, allocations: 12.03 kB / 371.3 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1479, allocations: 8 kB / 371.3 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2422/0.3901, allocations: 24.69 kB / 371.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.3904, allocations: 94.83 kB / 371.4 MB, free: 19.43 MB / 302.1 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.001382/0.3918, allocations: 0.7887 MB / 372.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.392, allocations: 102.4 kB / 372.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.3924, allocations: 196.9 kB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.3924, allocations: 3.531 kB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3924, allocations: 7.938 kB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3924, allocations: 1.734 kB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.3951, allocations: 1.768 MB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3951, allocations: 1.781 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.3951, allocations: 2.031 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3951, allocations: 2.062 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.3952, allocations: 31.41 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3952, allocations: 1.312 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3952, allocations: 2.625 kB / 374.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3968, allocations: 1.225 MB / 375.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.3979, allocations: 0.5859 MB / 376.1 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.3981, allocations: 60.88 kB / 376.2 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.3984, allocations: 32.12 kB / 376.2 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3986, allocations: 45.16 kB / 376.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.3987, allocations: 102.8 kB / 376.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.4004, allocations: 1.081 MB / 377.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4004, allocations: 0 / 377.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.401, allocations: 108.1 kB / 377.6 MB, free: 17.11 MB / 302.1 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.001948/0.4029, allocations: 1.975 MB / 379.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.4041, allocations: 0.9436 MB / 380.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4041, allocations: 3.938 kB / 380.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.4048, allocations: 0.771 MB / 381.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4058, allocations: 210.4 kB / 381.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006993/0.4128, allocations: 4.749 MB / 386.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/0.4138, allocations: 1.098 MB / 387.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.414, allocations: 28.8 kB / 387.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.4141, allocations: 56.56 kB / 387.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.083e-06/0.4141, allocations: 0 / 387.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.436, allocations: 9.894 MB / 397.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.4362, allocations: 176.8 kB / 397.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.315, allocations: 3.828 kB / 397.5 MB, free: 5.98 MB / 302.1 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