Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001069/0.001068, allocations: 93.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001112, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 4 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002026/0.1517, allocations: 1.316 MB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1529, allocations: 0.5497 MB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.153, allocations: 0 / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1533, allocations: 15.92 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.1534, allocations: 15.92 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1538, allocations: 59.8 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1539, allocations: 35.95 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.154, allocations: 15.97 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1542, allocations: 27.86 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1543, allocations: 31.84 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1544, allocations: 0 / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1544, allocations: 4 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1545, allocations: 15.98 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1545, allocations: 45.58 kB / 360.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1546, allocations: 43.91 kB / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1546, allocations: 0 / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1546, allocations: 4 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1547, allocations: 0 / 360.4 MB, free: 11.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004384/0.1551, allocations: 375.3 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1551, allocations: 12.03 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1552, allocations: 34.5 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1553, allocations: 23.89 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1556, allocations: 198.4 kB / 361 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1556, allocations: 8 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1556, allocations: 7.953 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.156, allocations: 157.7 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.156, allocations: 0 / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.156, allocations: 3.984 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.156, allocations: 3.938 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1561, allocations: 35.92 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1565, allocations: 290.6 kB / 361.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1567, allocations: 79.72 kB / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1567, allocations: 4.109 kB / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1567, allocations: 42.62 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1567, allocations: 0 / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003551/0.1571, allocations: 113.4 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.1572, allocations: 115.1 kB / 361.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1573, allocations: 146.3 kB / 362 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1573, allocations: 25.7 kB / 362 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.1574, allocations: 88.14 kB / 362.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1574, allocations: 7.906 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1574, allocations: 4 kB / 362.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1575, allocations: 314.8 kB / 362.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.1576, allocations: 23.98 kB / 362.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.1577, allocations: 69.88 kB / 362.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.1578, allocations: 31.98 kB / 362.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1578, allocations: 0 / 362.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001913/0.158, allocations: 109.4 kB / 362.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.158, allocations: 8.203 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.158, allocations: 4 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1581, allocations: 4 kB / 362.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.1582, allocations: 15.94 kB / 362.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1582, allocations: 4 kB / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1582, allocations: 7.984 kB / 362.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1583, allocations: 4 kB / 362.7 MB, free: 8.957 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.0001372/0.1584, allocations: 129.7 kB / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1585, allocations: 69.55 kB / 362.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.1586, allocations: 20.33 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1586, allocations: 4 kB / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1586, allocations: 0 / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1586, allocations: 0 / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1588, allocations: 177.5 kB / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1588, allocations: 4 kB / 363.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.1589, allocations: 15.92 kB / 363.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1589, allocations: 8.141 kB / 363.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1589, allocations: 0 / 363.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1589, allocations: 3.938 kB / 363.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1589, allocations: 4 kB / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1592, allocations: 220.5 kB / 363.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1592, allocations: 97 kB / 363.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1593, allocations: 8.297 kB / 363.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.1594, allocations: 8 kB / 363.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1594, allocations: 3.938 kB / 363.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1594, allocations: 4 kB / 363.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.1595, allocations: 111.4 kB / 363.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1595, allocations: 4 kB / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1597, allocations: 12 kB / 363.6 MB, free: 7.953 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.0006018/0.1604, allocations: 0.9291 MB / 364.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1605, allocations: 55.91 kB / 364.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1605, allocations: 0 / 364.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.1606, allocations: 16.44 kB / 364.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1609, allocations: 44 kB / 364.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1625, allocations: 1.527 MB / 366.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1628, allocations: 0.7043 MB / 366.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.1629, allocations: 12.66 kB / 366.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.163, allocations: 23.42 kB / 366.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.163, allocations: 0 / 366.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.1764, allocations: 1.794 MB / 368.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.1767, allocations: 195.6 kB / 368.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.099, allocations: 0 / 368.9 MB, free: 2.641 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat