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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.765/1.765, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008216, allocations: 104.7 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002946, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2703, allocations: 51.3 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3918, allocations: 78.09 MB / 487.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.3922, allocations: 75.95 kB / 487.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006866/0.3991, allocations: 2.326 MB / 489.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3991, allocations: 0 / 489.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3991, allocations: 8 kB / 489.9 MB, free: 11.04 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.0005072/0.3996, allocations: 383.2 kB / 490.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3997, allocations: 8.031 kB / 490.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3999, allocations: 24.83 kB / 490.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4002, allocations: 207.9 kB / 490.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4002, allocations: 4.375 kB / 490.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4002, allocations: 4.375 kB / 490.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.4006, allocations: 156.3 kB / 490.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4006, allocations: 0 / 490.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4007, allocations: 7.984 kB / 490.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4007, allocations: 3.938 kB / 490.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.4008, allocations: 39.97 kB / 490.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.4013, allocations: 282.6 kB / 491 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.4015, allocations: 85.03 kB / 491.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.4016, allocations: 46.69 kB / 491.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.4016, allocations: 4 kB / 491.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4017, allocations: 38.55 kB / 491.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.4017, allocations: 0 / 491.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003669/0.4021, allocations: 113.4 kB / 491.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.4022, allocations: 119 kB / 491.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4023, allocations: 145.8 kB / 491.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4023, allocations: 25.7 kB / 491.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.4024, allocations: 92.12 kB / 491.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.4024, allocations: 7.906 kB / 491.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.4024, allocations: 0 / 491.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4026, allocations: 330.7 kB / 492 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.4026, allocations: 19.98 kB / 492 MB, free: 8.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.4027, allocations: 65.94 kB / 492 MB, free: 8.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4029, allocations: 85.88 kB / 492.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4029, allocations: 0 / 492.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002147/0.4031, allocations: 113.4 kB / 492.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4031, allocations: 4 kB / 492.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4032, allocations: 4 kB / 492.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4032, allocations: 0 / 492.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4033, allocations: 19.92 kB / 492.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4033, allocations: 4 kB / 492.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.4034, allocations: 11.94 kB / 492.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.4034, allocations: 4.219 kB / 492.3 MB, free: 8.316 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.0001193/0.4035, allocations: 129.8 kB / 492.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.4037, allocations: 73.78 kB / 492.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.4037, allocations: 12.31 kB / 492.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4037, allocations: 64 / 492.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4037, allocations: 4 kB / 492.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4037, allocations: 3.984 kB / 492.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.4039, allocations: 173.6 kB / 492.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.404, allocations: 4 kB / 492.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.404, allocations: 16.02 kB / 492.7 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.404, allocations: 4 kB / 492.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4041, allocations: 7.938 kB / 492.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4041, allocations: 0 / 492.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4041, allocations: 4 kB / 492.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.4044, allocations: 201.1 kB / 492.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.4045, allocations: 100.9 kB / 493 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4045, allocations: 4 kB / 493 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.4046, allocations: 4 kB / 493 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.4047, allocations: 3.984 kB / 493 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.4047, allocations: 4 kB / 493 MB, free: 7.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4048, allocations: 113.6 kB / 493.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4048, allocations: 0 / 493.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.4051, allocations: 20 kB / 493.2 MB, free: 7.344 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.0002069/0.4053, allocations: 115.1 kB / 493.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.4055, allocations: 51.91 kB / 493.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4055, allocations: 0 / 493.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.4056, allocations: 16.44 kB / 493.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.406, allocations: 54.52 kB / 493.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.4066, allocations: 235.2 kB / 493.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4069, allocations: 0.7043 MB / 494.3 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.407, allocations: 8.656 kB / 494.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.407, allocations: 11.44 kB / 494.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of SimCode: time 1.923e-06/0.4071, allocations: 0 / 494.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of Templates: time 0.003699/0.4108, allocations: 0.7368 MB / 495.1 MB, free: 5.355 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:fractionalDelay.n,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time