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.0009799/0.0009799, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008897/0.0008899, allocations: 104.8 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002286, allocations: 8 kB / 357.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1798, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08202/0.2619, allocations: 78.15 MB / 487.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.2621, allocations: 80.64 kB / 487.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006061/0.2682, allocations: 2.327 MB / 490 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2682, allocations: 0 / 490 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.2683, allocations: 8 kB / 490 MB, free: 10.03 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.0003246/0.2686, allocations: 383 kB / 490.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2686, allocations: 12.03 kB / 490.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2687, allocations: 19.89 kB / 490.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.269, allocations: 198.4 kB / 490.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.269, allocations: 4 kB / 490.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.269, allocations: 11.89 kB / 490.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.2693, allocations: 164.9 kB / 490.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2693, allocations: 0 / 490.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2693, allocations: 0 / 490.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2693, allocations: 0 / 490.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2694, allocations: 43.92 kB / 490.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2698, allocations: 286.5 kB / 491.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2699, allocations: 89.14 kB / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2699, allocations: 0 / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2699, allocations: 38.56 kB / 491.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.2699, allocations: 0 / 491.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002735/0.2702, allocations: 113.5 kB / 491.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.2703, allocations: 110.8 kB / 491.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.2704, allocations: 129.5 kB / 491.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2704, allocations: 29.69 kB / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.2705, allocations: 92.39 kB / 491.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.2705, allocations: 7.906 kB / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.2705, allocations: 3.938 kB / 491.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.2706, allocations: 326.8 kB / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.2707, allocations: 19.98 kB / 492 MB, free: 7.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.2707, allocations: 61.98 kB / 492.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.2708, allocations: 31.98 kB / 492.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2708, allocations: 0 / 492.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001818/0.271, allocations: 117.3 kB / 492.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.271, allocations: 6.656 kB / 492.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.271, allocations: 4 kB / 492.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.271, allocations: 3.984 kB / 492.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.2711, allocations: 16 kB / 492.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2711, allocations: 0 / 492.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.2712, allocations: 16.14 kB / 492.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2712, allocations: 4 kB / 492.3 MB, free: 7.457 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 7.684e-05/0.2713, allocations: 126 kB / 492.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2714, allocations: 73.8 kB / 492.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.2715, allocations: 24.23 kB / 492.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2715, allocations: 0 / 492.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2715, allocations: 0 / 492.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2715, allocations: 4 kB / 492.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2716, allocations: 181.6 kB / 492.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2716, allocations: 4 kB / 492.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.2717, allocations: 15.98 kB / 492.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2717, allocations: 3.953 kB / 492.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2717, allocations: 0 / 492.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2717, allocations: 4 kB / 492.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2718, allocations: 0 / 492.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.272, allocations: 220.5 kB / 492.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.2721, allocations: 97 kB / 493 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2721, allocations: 7.984 kB / 493 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.2722, allocations: 0 / 493 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.2722, allocations: 8 kB / 493 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2722, allocations: 4 kB / 493 MB, free: 6.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.2723, allocations: 114.8 kB / 493.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2723, allocations: 0 / 493.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.2725, allocations: 8 kB / 493.2 MB, free: 6.457 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.0001147/0.2726, allocations: 119.1 kB / 493.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2728, allocations: 68.2 kB / 493.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2728, allocations: 0 / 493.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.2728, allocations: 11.98 kB / 493.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2731, allocations: 46.2 kB / 493.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.2735, allocations: 242 kB / 493.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.2738, allocations: 0.7083 MB / 494.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.2738, allocations: 4.656 kB / 494.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.2738, allocations: 15.44 kB / 494.4 MB, free: 5.188 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.2738, allocations: 4 kB / 494.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of Templates: time 0.002316/0.2762, allocations: 0.7157 MB / 495.1 MB, free: 4.477 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/jenkins/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