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.001005/0.001005, 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.353/1.353, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009476/0.0009477, allocations: 88.34 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.223e-05, allocations: 4 kB / 350.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 51.49 MB / 402 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4753, allocations: 78.09 MB / 480.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4755, allocations: 80.31 kB / 480.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005756/0.4813, allocations: 2.316 MB / 482.5 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4813, allocations: 3.938 kB / 482.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4813, allocations: 4 kB / 482.5 MB, free: 9.371 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.0002926/0.4816, allocations: 355.6 kB / 482.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4817, allocations: 12.03 kB / 482.9 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.4819, allocations: 23.83 kB / 482.9 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4821, allocations: 204 kB / 483.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4821, allocations: 8.047 kB / 483.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.4821, allocations: 1.219 kB / 483.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.4824, allocations: 149.1 kB / 483.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4824, allocations: 0 / 483.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4824, allocations: 7.984 kB / 483.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4824, allocations: 3.938 kB / 483.3 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.4825, allocations: 19.06 kB / 483.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.4828, allocations: 293.4 kB / 483.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.4829, allocations: 81.55 kB / 483.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.483, allocations: 39.7 kB / 483.7 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.483, allocations: 4 kB / 483.7 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.483, allocations: 39.42 kB / 483.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.483, allocations: 0.5625 kB / 483.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001846/0.4832, allocations: 78.22 kB / 483.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4833, allocations: 110.8 kB / 483.9 MB, free: 7.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.4834, allocations: 132.3 kB / 484.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4834, allocations: 29.77 kB / 484.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.4834, allocations: 91.27 kB / 484.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4834, allocations: 4.75 kB / 484.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.4835, allocations: 7.562 kB / 484.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.4835, allocations: 318.4 kB / 484.5 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.4835, allocations: 11.69 kB / 484.5 MB, free: 7.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.4836, allocations: 60 kB / 484.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.4836, allocations: 27.23 kB / 484.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4836, allocations: 0 / 484.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001129/0.4837, allocations: 96.3 kB / 484.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4838, allocations: 8 kB / 484.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4838, allocations: 0 / 484.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4838, allocations: 7.984 kB / 484.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.4839, allocations: 20.92 kB / 484.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4839, allocations: 4 kB / 484.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.484, allocations: 11.92 kB / 484.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.484, allocations: 11.84 kB / 484.7 MB, free: 7.016 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.389e-05/0.484, allocations: 101 kB / 484.8 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.4841, allocations: 80.2 kB / 484.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.4842, allocations: 12.41 kB / 484.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4842, allocations: 4 kB / 484.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4842, allocations: 0 / 484.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4842, allocations: 3.984 kB / 484.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4843, allocations: 172.5 kB / 485.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4843, allocations: 0.625 kB / 485.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.4844, allocations: 23.95 kB / 485.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4844, allocations: 3.953 kB / 485.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4844, allocations: 4 kB / 485.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4844, allocations: 1.75 kB / 485.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4845, allocations: 0 / 485.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.4846, allocations: 216.6 kB / 485.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.4847, allocations: 94.16 kB / 485.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4847, allocations: 7.688 kB / 485.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.4848, allocations: 7.984 kB / 485.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.4848, allocations: 0 / 485.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4848, allocations: 4 kB / 485.5 MB, free: 6.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.4849, allocations: 110 kB / 485.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4849, allocations: 0 / 485.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.4851, allocations: 19.69 kB / 485.6 MB, free: 6.121 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.0001014/0.4852, allocations: 103.2 kB / 485.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.4853, allocations: 46.86 kB / 485.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4853, allocations: 0 / 485.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.4853, allocations: 0 / 485.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4856, allocations: 51.28 kB / 485.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.4859, allocations: 134.1 kB / 485.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4861, allocations: 0.7079 MB / 486.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.4861, allocations: 5.547 kB / 486.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.4862, allocations: 11.44 kB / 486.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4862, allocations: 0 / 486.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of Templates: time 0.002731/0.4889, allocations: 0.7479 MB / 487.4 MB, free: 4.344 MB / 346.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