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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009112/0.0009112, allocations: 94.02 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.094e-05, allocations: 0 / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 51.47 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.469, allocations: 78.1 MB / 480.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4693, allocations: 77.83 kB / 480.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006017/0.4753, allocations: 2.321 MB / 482.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.4754, allocations: 0 / 482.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4754, allocations: 3.938 kB / 482.6 MB, free: 9.359 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.0003038/0.4757, allocations: 365.4 kB / 483 MB, free: 8.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4758, allocations: 15.97 kB / 483 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.4758, allocations: 38.23 kB / 483 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.4759, allocations: 23.98 kB / 483 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4762, allocations: 200.7 kB / 483.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4762, allocations: 3.5 kB / 483.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.4762, allocations: 4 kB / 483.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.4766, allocations: 150.2 kB / 483.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4766, allocations: 0 / 483.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4766, allocations: 1.078 kB / 483.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4766, allocations: 9.75 kB / 483.4 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.431e-05/0.4767, allocations: 19.38 kB / 483.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4771, allocations: 292.5 kB / 483.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.4772, allocations: 74.92 kB / 483.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4772, allocations: 49.67 kB / 483.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4773, allocations: 0 / 483.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4773, allocations: 38.06 kB / 483.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4773, allocations: 3.938 kB / 483.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.4775, allocations: 76.41 kB / 484 MB, free: 7.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.4775, allocations: 114.9 kB / 484.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.4776, allocations: 129.4 kB / 484.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.4777, allocations: 25.7 kB / 484.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.4777, allocations: 95.53 kB / 484.3 MB, free: 7.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.4777, allocations: 7.891 kB / 484.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4777, allocations: 3.5 kB / 484.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.4778, allocations: 317.7 kB / 484.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.4778, allocations: 15.05 kB / 484.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.4779, allocations: 62.05 kB / 484.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.4779, allocations: 23.17 kB / 484.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4779, allocations: 3.953 kB / 484.7 MB, free: 7.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001127/0.478, allocations: 94.08 kB / 484.8 MB, free: 7.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4781, allocations: 9.406 kB / 484.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4781, allocations: 0.7031 kB / 484.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4781, allocations: 4 kB / 484.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.4782, allocations: 24.14 kB / 484.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.4782, allocations: 0 / 484.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.4783, allocations: 19.41 kB / 484.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4783, allocations: 4 kB / 484.9 MB, free: 6.949 MB / 346.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 () * 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 4.806e-05/0.4783, allocations: 103.4 kB / 485 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.4784, allocations: 74.67 kB / 485.1 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.4785, allocations: 17.39 kB / 485.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4785, allocations: 0 / 485.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4785, allocations: 4.625 kB / 485.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4785, allocations: 4.031 kB / 485.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4786, allocations: 175.5 kB / 485.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4786, allocations: 0 / 485.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.4787, allocations: 21.89 kB / 485.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4787, allocations: 0 / 485.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4787, allocations: 11.23 kB / 485.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4788, allocations: 4.859 kB / 485.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4788, allocations: 0 / 485.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.4789, allocations: 206.5 kB / 485.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.479, allocations: 95.3 kB / 485.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.479, allocations: 6.75 kB / 485.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.4791, allocations: 4 kB / 485.6 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.4791, allocations: 0 / 485.6 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4791, allocations: 4 kB / 485.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.076e-05/0.4792, allocations: 110 kB / 485.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4792, allocations: 6.156 kB / 485.7 MB, free: 6.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00022/0.4794, allocations: 11.5 kB / 485.7 MB, free: 6.062 MB / 346.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 () * 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.0004215/0.4798, allocations: 0.9144 MB / 486.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.48, allocations: 46.19 kB / 486.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.48, allocations: 0 / 486.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.48, allocations: 7.984 kB / 486.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4803, allocations: 38.23 kB / 486.7 MB, free: 5.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.4808, allocations: 190.2 kB / 486.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4809, allocations: 0.7004 MB / 487.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.481, allocations: 8.656 kB / 487.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.481, allocations: 21.94 kB / 487.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.481, allocations: 4 kB / 487.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.4923, allocations: 1.779 MB / 489.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.4924, allocations: 180.4 kB / 489.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.005, allocations: 0 / 489.6 MB, free: 2.336 MB / 346.7 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