Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 88.19 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009909/0.0009911, allocations: 183.7 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 241.1 MB, free: 396 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 300.8 MB, free: 6.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 50.41 MB / 351.2 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002067/0.1468, allocations: 1.3 MB / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.1476, allocations: 0.5069 MB / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/0.1477, allocations: 3.938 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.148, allocations: 15.92 kB / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.1481, allocations: 11.98 kB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1483, allocations: 51.81 kB / 353.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1484, allocations: 43.94 kB / 353.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1485, allocations: 12 kB / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.1486, allocations: 27.8 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1488, allocations: 27.84 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1488, allocations: 4 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.1488, allocations: 0 / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1489, allocations: 19.97 kB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.149, allocations: 37.64 kB / 353.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.678e-05/0.1491, allocations: 43.91 kB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1491, allocations: 0 / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1491, allocations: 0 / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1491, allocations: 8 kB / 353.3 MB, free: 1.832 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005679/0.1497, allocations: 371.3 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1497, allocations: 11.97 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.1498, allocations: 42.48 kB / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1498, allocations: 11.86 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1501, allocations: 191.5 kB / 354 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1502, allocations: 8 kB / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1502, allocations: 0 / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1505, allocations: 161.7 kB / 354.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1505, allocations: 0 / 354.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1506, allocations: 3.984 kB / 354.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1506, allocations: 3.953 kB / 354.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1507, allocations: 39.91 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1511, allocations: 274.7 kB / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1512, allocations: 91.72 kB / 354.5 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1513, allocations: 0 / 354.5 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1513, allocations: 34.69 kB / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1513, allocations: 4.062 kB / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003342/0.1516, allocations: 121.5 kB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.1517, allocations: 114.8 kB / 354.8 MB, free: 140 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1519, allocations: 141.4 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1519, allocations: 29.64 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.152, allocations: 96.08 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.152, allocations: 12.06 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.152, allocations: 0 / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002832/0.1523, allocations: 318.8 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.1524, allocations: 19.98 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.1525, allocations: 65.94 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.1525, allocations: 27.98 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1525, allocations: 0 / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002095/0.1528, allocations: 109.5 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1528, allocations: 8 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1528, allocations: 3.938 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1528, allocations: 7.953 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.1529, allocations: 15.98 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1529, allocations: 4 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.153, allocations: 8.219 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.153, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001906/0.1532, allocations: 137.9 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1533, allocations: 61.59 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.1534, allocations: 20.23 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1534, allocations: 4 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1534, allocations: 3.953 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1534, allocations: 0 / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1536, allocations: 181.5 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1536, allocations: 4.031 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.1537, allocations: 15.94 kB / 356.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1537, allocations: 0 / 356.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1537, allocations: 4 kB / 356.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1537, allocations: 3.984 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1538, allocations: 0 / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.154, allocations: 224.5 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.1541, allocations: 89 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1541, allocations: 12.27 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.1542, allocations: 11.92 kB / 356.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.1542, allocations: 4 kB / 356.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1542, allocations: 8 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.543e-05/0.1543, allocations: 113.4 kB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1546, allocations: 16 kB / 356.5 MB, free: 14.21 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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.000711/0.1553, allocations: 0.9252 MB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1555, allocations: 60.34 kB / 357.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1555, allocations: 0 / 357.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.1556, allocations: 12 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1559, allocations: 36.81 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1572, allocations: 1.537 MB / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1575, allocations: 0.7004 MB / 359.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1576, allocations: 12.64 kB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1576, allocations: 19.44 kB / 359.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1576, allocations: 0 / 359.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.1697, allocations: 1.796 MB / 361.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.1699, allocations: 199.1 kB / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.045, allocations: 0 / 361.8 MB, free: 8.906 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat