Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.3 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008793, allocations: 97.81 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.008e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09799, allocations: 50.4 MB / 394.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/0.3964, allocations: 81.68 MB / 476 MB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3967, allocations: 63.97 kB / 476.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02677/0.4234, allocations: 13.54 MB / 489.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4235, allocations: 0 / 489.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.4235, allocations: 12 kB / 489.6 MB, free: 8.238 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.0009292/0.4245, allocations: 1.022 MB / 490.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4245, allocations: 15.97 kB / 490.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.4246, allocations: 46.56 kB / 490.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.4247, allocations: 110.7 kB / 490.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.4252, allocations: 404.9 kB / 491.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.4252, allocations: 19.94 kB / 491.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.4253, allocations: 20 kB / 491.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.4258, allocations: 336 kB / 491.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4258, allocations: 0 / 491.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.4258, allocations: 8 kB / 491.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4259, allocations: 4 kB / 491.6 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.4262, allocations: 199.8 kB / 491.8 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.4274, allocations: 0.9586 MB / 492.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.4278, allocations: 307.8 kB / 493 MB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4281, allocations: 258.5 kB / 493.3 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.4281, allocations: 4 kB / 493.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.4288, allocations: 0.577 MB / 493.9 MB, free: 3.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.4288, allocations: 0 / 493.9 MB, free: 3.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001271/0.43, allocations: 0.8889 MB / 494.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.4302, allocations: 281 kB / 495 MB, free: 2.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.4318, allocations: 1.278 MB / 496.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4318, allocations: 37.7 kB / 496.4 MB, free: 1.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.4319, allocations: 122.5 kB / 496.5 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.432, allocations: 71.25 kB / 496.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.432, allocations: 4 kB / 496.5 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4321, allocations: 338.8 kB / 496.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.4324, allocations: 199.8 kB / 497.1 MB, free: 332 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.4327, allocations: 234.3 kB / 497.3 MB, free: 88 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.4331, allocations: 354 kB / 497.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4331, allocations: 0 / 497.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.4341, allocations: 0.8271 MB / 498.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.4342, allocations: 191.7 kB / 498.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4343, allocations: 4 kB / 498.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4343, allocations: 0 / 498.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/0.4343, allocations: 0 / 498.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4343, allocations: 11.89 kB / 498.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4346, allocations: 43.88 kB / 498.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.4347, allocations: 87.92 kB / 498.8 MB, free: 14.46 MB / 378.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.0002518/0.435, allocations: 352.7 kB / 499.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4351, allocations: 94.88 kB / 499.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.4354, allocations: 196.1 kB / 499.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4354, allocations: 4 kB / 499.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4355, allocations: 0 / 499.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4355, allocations: 7.953 kB / 499.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.4376, allocations: 1.839 MB / 0.4895 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4376, allocations: 0 / 0.4895 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.4376, allocations: 7.938 kB / 0.4895 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4377, allocations: 0 / 0.4895 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.4377, allocations: 27.98 kB / 0.4896 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.4377, allocations: 7.938 kB / 0.4896 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4377, allocations: 8 kB / 0.4896 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.439, allocations: 1.262 MB / 0.4908 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.44, allocations: 0.593 MB / 0.4914 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.4401, allocations: 59.95 kB / 0.4915 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.4405, allocations: 39.88 kB / 0.4915 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.4407, allocations: 79.89 kB / 0.4916 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.4408, allocations: 103.8 kB / 0.4917 GB, free: 9.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001366/0.4422, allocations: 1.071 MB / 0.4927 GB, free: 8.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4422, allocations: 0 / 0.4927 GB, free: 8.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00044/0.4426, allocations: 108 kB / 0.4928 GB, free: 8.387 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.001682/0.4443, allocations: 2.025 MB / 0.4948 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000969/0.4453, allocations: 0.9769 MB / 0.4957 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4453, allocations: 3.938 kB / 0.4957 GB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.446, allocations: 0.7932 MB / 0.4965 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.4469, allocations: 207.7 kB / 0.4967 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.4498, allocations: 1.981 MB / 0.4987 GB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.4505, allocations: 1.113 MB / 0.4997 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.4506, allocations: 25.12 kB / 0.4998 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.4507, allocations: 55.42 kB / 0.4998 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4507, allocations: 0 / 0.4998 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.4717, allocations: 10.39 MB / 0.51 GB, free: 6.613 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.4719, allocations: 168.1 kB / 0.5101 GB, free: 6.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.253, allocations: 0 / 0.5101 GB, free: 6.375 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat