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.001021/0.001021, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009025/0.0009023, allocations: 111 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.000234, allocations: 8 kB / 358 MB, free: 9.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1841, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08291/0.2671, allocations: 78.16 MB / 487.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.2673, allocations: 75.95 kB / 487.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006041/0.2734, allocations: 2.334 MB / 490.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2734, allocations: 0 / 490.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2734, allocations: 8 kB / 490.1 MB, free: 10.01 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003605/0.2738, allocations: 383 kB / 490.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2738, allocations: 8.031 kB / 490.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.2739, allocations: 34.56 kB / 490.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.274, allocations: 19.89 kB / 490.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2742, allocations: 214.3 kB / 490.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.2742, allocations: 4 kB / 490.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2743, allocations: 7.953 kB / 490.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2746, allocations: 156.5 kB / 490.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2746, allocations: 0 / 490.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2746, allocations: 0 / 490.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2746, allocations: 11.94 kB / 490.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2747, allocations: 35.97 kB / 490.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.2751, allocations: 294.5 kB / 491.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2752, allocations: 81.16 kB / 491.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2752, allocations: 8 kB / 491.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2752, allocations: 30.56 kB / 491.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2752, allocations: 4 kB / 491.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002849/0.2755, allocations: 113.5 kB / 491.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2756, allocations: 114.7 kB / 491.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2757, allocations: 129.5 kB / 491.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2757, allocations: 29.95 kB / 491.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2758, allocations: 92.08 kB / 491.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2758, allocations: 11.89 kB / 491.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.2758, allocations: 4 kB / 491.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2759, allocations: 314.8 kB / 492.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.276, allocations: 19.98 kB / 492.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.276, allocations: 62 kB / 492.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.2761, allocations: 31.92 kB / 492.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2761, allocations: 4 kB / 492.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002038/0.2763, allocations: 109.4 kB / 492.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2764, allocations: 8 kB / 492.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2764, allocations: 0 / 492.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2764, allocations: 4 kB / 492.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.2765, allocations: 12.22 kB / 492.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2765, allocations: 15.92 kB / 492.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.2765, allocations: 11.94 kB / 492.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2766, allocations: 4 kB / 492.4 MB, free: 7.387 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 8.175e-05/0.2767, allocations: 118 kB / 492.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2768, allocations: 77.47 kB / 492.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.2768, allocations: 16.25 kB / 492.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2768, allocations: 4 kB / 492.6 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.2768, allocations: 0 / 492.6 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2768, allocations: 4.031 kB / 492.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.277, allocations: 177.5 kB / 492.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.277, allocations: 0 / 492.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.2771, allocations: 19.98 kB / 492.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2771, allocations: 3.953 kB / 492.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2771, allocations: 4 kB / 492.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2771, allocations: 0 / 492.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2771, allocations: 0 / 492.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.2773, allocations: 228.5 kB / 493.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.2774, allocations: 96.98 kB / 493.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.2774, allocations: 4.312 kB / 493.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.2775, allocations: 12 kB / 493.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2775, allocations: 0 / 493.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2776, allocations: 4 kB / 493.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.2776, allocations: 114.6 kB / 493.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2776, allocations: 3.938 kB / 493.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.2779, allocations: 12 kB / 493.3 MB, free: 6.383 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.0005728/0.2785, allocations: 0.9361 MB / 494.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2786, allocations: 63.97 kB / 494.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2786, allocations: 0 / 494.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.2787, allocations: 15.92 kB / 494.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2789, allocations: 38.25 kB / 494.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2802, allocations: 1.532 MB / 495.9 MB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2804, allocations: 0.7082 MB / 496.6 MB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.2804, allocations: 4.672 kB / 496.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.2805, allocations: 27.42 kB / 496.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of SimCode: time 3.567e-06/0.2805, allocations: 4 kB / 496.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.2928, allocations: 1.775 MB / 498.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.293, allocations: 197.2 kB / 498.6 MB, free: 1.078 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.77, allocations: 0 / 498.6 MB, free: 1.078 MB / 362.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