Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_cpp_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.002346/0.002351, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001743/0.001743, allocations: 97.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006424, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4767, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002954/0.4798, allocations: 1.186 MB / 375.8 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.484, allocations: 0.867 MB / 376.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.4842, allocations: 1.062 kB / 376.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.4844, allocations: 9.109 kB / 376.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.4845, allocations: 20.56 kB / 376.7 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.485, allocations: 40.8 kB / 376.7 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.4855, allocations: 159.7 kB / 376.9 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.4858, allocations: 50.73 kB / 376.9 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008894/0.4867, allocations: 291.3 kB / 377.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.4871, allocations: 159.2 kB / 377.4 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.4873, allocations: 7.469 kB / 377.4 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4875, allocations: 7.656 kB / 377.4 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.4878, allocations: 177 kB / 377.6 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.4881, allocations: 149.8 kB / 377.7 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4896, allocations: 0.7929 MB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4897, allocations: 1.031 kB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.4897, allocations: 0 / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.767e-05/0.4898, allocations: 4 kB / 378.5 MB, free: 42.72 MB / 298.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.003061/0.4929, allocations: 1.153 MB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.493, allocations: 8.562 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.4933, allocations: 52.75 kB / 379.7 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.4937, allocations: 94.41 kB / 379.8 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4952, allocations: 448.8 kB / 380.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.4953, allocations: 9.5 kB / 380.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4955, allocations: 18.25 kB / 380.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4968, allocations: 311.4 kB / 380.6 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.4969, allocations: 3.984 kB / 380.6 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.497, allocations: 15.58 kB / 380.6 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4971, allocations: 2.844 kB / 380.6 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/0.4979, allocations: 162.1 kB / 380.8 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.5013, allocations: 0.9454 MB / 381.7 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5026, allocations: 267.1 kB / 382 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.5027, allocations: 5.219 kB / 382 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.5043, allocations: 0.5176 MB / 382.5 MB, free: 39.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 9.218e-06/0.5044, allocations: 0 / 382.5 MB, free: 39.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.004419/0.5088, allocations: 1.253 MB / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.509, allocations: 287 kB / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006283/0.5154, allocations: 1.443 MB / 385.5 MB, free: 37.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.5157, allocations: 39.84 kB / 385.5 MB, free: 37.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5159, allocations: 172.2 kB / 385.7 MB, free: 37.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.5161, allocations: 78 kB / 385.8 MB, free: 37.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.5162, allocations: 4 kB / 385.8 MB, free: 37.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.5163, allocations: 326.8 kB / 386.1 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.5171, allocations: 163.9 kB / 386.2 MB, free: 36.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.5179, allocations: 215.2 kB / 386.5 MB, free: 36.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.5188, allocations: 336.8 kB / 386.8 MB, free: 36.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5188, allocations: 0 / 386.8 MB, free: 36.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002706/0.5215, allocations: 0.7727 MB / 387.6 MB, free: 35.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.5218, allocations: 190.2 kB / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5218, allocations: 4 kB / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.5219, allocations: 0 / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.522, allocations: 7.938 kB / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.522, allocations: 7.953 kB / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.523, allocations: 31.89 kB / 387.8 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.5233, allocations: 92.8 kB / 387.9 MB, free: 34.91 MB / 298.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.002266/0.5256, allocations: 0.7977 MB / 388.7 MB, free: 34.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.5261, allocations: 94.88 kB / 388.8 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5271, allocations: 195.9 kB / 389 MB, free: 33.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.5272, allocations: 0 / 389 MB, free: 33.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5272, allocations: 4 kB / 389 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5273, allocations: 3.953 kB / 389 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.5333, allocations: 1.788 MB / 390.8 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5333, allocations: 4 kB / 390.8 MB, free: 31.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.5334, allocations: 3.938 kB / 390.8 MB, free: 31.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.5334, allocations: 0 / 390.8 MB, free: 31.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5336, allocations: 31.92 kB / 390.8 MB, free: 31.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.5336, allocations: 4 kB / 390.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5336, allocations: 3.953 kB / 390.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.537, allocations: 1.218 MB / 392 MB, free: 30.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/0.5398, allocations: 0.5929 MB / 392.6 MB, free: 29.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/0.5403, allocations: 47.97 kB / 392.7 MB, free: 29.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5414, allocations: 31.92 kB / 392.7 MB, free: 29.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.5417, allocations: 47.94 kB / 392.7 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/0.542, allocations: 103.8 kB / 392.8 MB, free: 29.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.004423/0.5464, allocations: 1.075 MB / 393.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.5465, allocations: 0 / 393.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001493/0.548, allocations: 107.9 kB / 394 MB, free: 28.52 MB / 298.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.004205/0.5523, allocations: 1.985 MB / 396 MB, free: 26.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.5549, allocations: 0.9336 MB / 396.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.555, allocations: 4 kB / 397 MB, free: 25.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.5566, allocations: 0.7659 MB / 397.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.5593, allocations: 216.2 kB / 397.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.5712, allocations: 4.827 MB / 402.8 MB, free: 19.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.5723, allocations: 1.101 MB / 403.9 MB, free: 18.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.5725, allocations: 59.36 kB / 403.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5725, allocations: 0 / 403.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/3.273, allocations: 5.836 MB / 409.7 MB, free: 12.48 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat