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.001455/0.001455, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008543, allocations: 100.9 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.257e-05, allocations: 4 kB / 343.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 51.48 MB / 395.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4526, allocations: 77.43 MB / 472.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4528, allocations: 76.72 kB / 472.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006042/0.4589, allocations: 2.301 MB / 475.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4589, allocations: 0 / 475.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.459, allocations: 14.28 kB / 475.1 MB, free: 12.45 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.0003084/0.4593, allocations: 366.7 kB / 475.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4593, allocations: 9.578 kB / 475.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.4595, allocations: 19.41 kB / 475.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4597, allocations: 206.2 kB / 475.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4597, allocations: 8.797 kB / 475.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.4597, allocations: 4 kB / 475.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.703e-05/0.4598, allocations: 27.84 kB / 475.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.46, allocations: 123.9 kB / 475.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4601, allocations: 0 / 475.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4601, allocations: 8 kB / 475.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4601, allocations: 7.875 kB / 475.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.4604, allocations: 254 kB / 476.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.4604, allocations: 80.45 kB / 476.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.4605, allocations: 44.17 kB / 476.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4605, allocations: 0.7969 kB / 476.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.4605, allocations: 34.27 kB / 476.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4606, allocations: 0 / 476.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000175/0.4607, allocations: 82.11 kB / 476.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4608, allocations: 103.6 kB / 476.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.4609, allocations: 131 kB / 476.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.4609, allocations: 26.45 kB / 476.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.4609, allocations: 88.67 kB / 476.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.4609, allocations: 8.984 kB / 476.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.4609, allocations: 0 / 476.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.461, allocations: 326.1 kB / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.461, allocations: 11.31 kB / 477 MB, free: 10.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.4611, allocations: 55.86 kB / 477.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.4611, allocations: 18.83 kB / 477.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4611, allocations: 4 kB / 477.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001059/0.4612, allocations: 87.11 kB / 477.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4612, allocations: 4 kB / 477.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4613, allocations: 4 kB / 477.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4613, allocations: 224 / 477.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.4614, allocations: 29.16 kB / 477.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4614, allocations: 0 / 477.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.4614, allocations: 13.44 kB / 477.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4615, allocations: 7.875 kB / 477.2 MB, free: 10.25 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.585e-05/0.4615, allocations: 105 kB / 477.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001042/0.4616, allocations: 78.92 kB / 477.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.4617, allocations: 9.547 kB / 477.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.4617, allocations: 16.77 kB / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4617, allocations: 0 / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4617, allocations: 1.781 kB / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4617, allocations: 5.641 kB / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.4618, allocations: 150.4 kB / 477.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4618, allocations: 0 / 477.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.4619, allocations: 22.64 kB / 477.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4619, allocations: 7.953 kB / 477.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4619, allocations: 0 / 477.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4619, allocations: 2.938 kB / 477.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.462, allocations: 1.453 kB / 477.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4621, allocations: 208 kB / 477.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.4621, allocations: 98.02 kB / 477.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.4622, allocations: 0 / 477.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.4622, allocations: 9.312 kB / 477.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.4623, allocations: 5.5 kB / 477.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4623, allocations: 3.938 kB / 477.9 MB, free: 9.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.4623, allocations: 107.8 kB / 478 MB, free: 9.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4624, allocations: 0 / 478 MB, free: 9.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.4626, allocations: 12 kB / 478.1 MB, free: 9.418 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.000351/0.463, allocations: 0.8978 MB / 479 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.4631, allocations: 43.56 kB / 479 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4631, allocations: 7.688 kB / 479 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.4631, allocations: 0.5 kB / 479 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4634, allocations: 39.69 kB / 479 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.4638, allocations: 173.5 kB / 479.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.464, allocations: 0.7054 MB / 479.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.464, allocations: 7.391 kB / 479.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.4641, allocations: 28.08 kB / 480 MB, free: 7.535 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4641, allocations: 0 / 480 MB, free: 7.535 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4833, allocations: 1.443 MB / 481.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.4835, allocations: 156.4 kB / 481.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.943, allocations: 0 / 481.6 MB, free: 6.527 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