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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.451/1.451, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001101, allocations: 106.2 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2455, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08645/0.332, allocations: 77.35 MB / 478.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.3323, allocations: 79.95 kB / 479 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006201/0.3385, allocations: 2.214 MB / 481.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3385, allocations: 4 kB / 481.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3386, allocations: 7.875 kB / 481.2 MB, free: 0.7969 MB / 346.7 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.0005314/0.3391, allocations: 396.8 kB / 481.6 MB, free: 372 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3392, allocations: 12.03 kB / 481.6 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.3392, allocations: 34.52 kB / 481.7 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3393, allocations: 8.969 kB / 481.7 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3395, allocations: 202.5 kB / 481.9 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3395, allocations: 0 / 481.9 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3396, allocations: 8 kB / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.3399, allocations: 149.8 kB / 482 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.34, allocations: 0 / 482 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.34, allocations: 4 kB / 482 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.34, allocations: 7.953 kB / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3401, allocations: 39.91 kB / 482.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.3406, allocations: 282.6 kB / 482.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3407, allocations: 87.84 kB / 482.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3407, allocations: 7.969 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3408, allocations: 39.81 kB / 482.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3408, allocations: 4 kB / 482.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003313/0.3411, allocations: 117.5 kB / 482.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.3412, allocations: 110.8 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3413, allocations: 125.5 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3414, allocations: 29.95 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3414, allocations: 99.97 kB / 483 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3414, allocations: 11.91 kB / 483 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.3414, allocations: 0 / 483 MB, free: 14.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3416, allocations: 318.8 kB / 483.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.3416, allocations: 16 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.3417, allocations: 69.92 kB / 483.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.3418, allocations: 24.19 kB / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3418, allocations: 0 / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002067/0.342, allocations: 117.3 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3421, allocations: 8 kB / 483.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3421, allocations: 0 / 483.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3421, allocations: 7.953 kB / 483.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3422, allocations: 15.98 kB / 483.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3422, allocations: 12.16 kB / 483.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.3423, allocations: 8 kB / 483.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3423, allocations: 4 kB / 483.6 MB, free: 14.18 MB / 362.7 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.0001113/0.3424, allocations: 125.8 kB / 483.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3425, allocations: 65.59 kB / 483.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.3426, allocations: 12.31 kB / 483.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3426, allocations: 4 kB / 483.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3426, allocations: 7.938 kB / 483.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3426, allocations: 4.031 kB / 483.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3428, allocations: 169.7 kB / 483.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.3428, allocations: 7.922 kB / 484 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.3429, allocations: 16 kB / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3429, allocations: 0 / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3429, allocations: 4 kB / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.343, allocations: 0 / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.343, allocations: 0 / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.3432, allocations: 232.4 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.3433, allocations: 96.94 kB / 484.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3434, allocations: 7.953 kB / 484.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.3434, allocations: 8.297 kB / 484.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.3435, allocations: 4 kB / 484.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3435, allocations: 8 kB / 484.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3436, allocations: 114.1 kB / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3436, allocations: 0 / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.3438, allocations: 12 kB / 484.4 MB, free: 13.17 MB / 362.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: 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.0006629/0.3445, allocations: 0.9253 MB / 485.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3447, allocations: 63.97 kB / 485.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3447, allocations: 0 / 485.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.3447, allocations: 11.98 kB / 485.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.345, allocations: 50.81 kB / 485.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3464, allocations: 1.545 MB / 487 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3467, allocations: 0.7004 MB / 487.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.3468, allocations: 8.656 kB / 487.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3468, allocations: 23.44 kB / 487.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3468, allocations: 4 kB / 487.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.3579, allocations: 1.781 MB / 489.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.358, allocations: 197.4 kB / 489.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.257, allocations: 7.438 kB / 489.8 MB, free: 7.855 MB / 362.7 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