Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 83.08 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.208e-05, allocations: 4 kB / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09006, allocations: 50.41 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.378, allocations: 77.29 MB / 471.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3783, allocations: 75.95 kB / 471.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006335/0.3847, allocations: 2.207 MB / 473.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3847, allocations: 0 / 473.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3848, allocations: 4 kB / 473.8 MB, free: 7.98 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.0004029/0.3852, allocations: 370.8 kB / 474.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3852, allocations: 8.031 kB / 474.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3853, allocations: 19.86 kB / 474.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3855, allocations: 198.2 kB / 474.4 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3855, allocations: 12 kB / 474.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3855, allocations: 4 kB / 474.4 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3858, allocations: 141.8 kB / 474.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3858, allocations: 0 / 474.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3859, allocations: 3.984 kB / 474.6 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.3859, allocations: 3.953 kB / 474.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.3859, allocations: 27.92 kB / 474.6 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.3863, allocations: 286.6 kB / 474.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.3864, allocations: 79.72 kB / 474.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.3865, allocations: 34.77 kB / 475 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3865, allocations: 7.938 kB / 475 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3865, allocations: 42.5 kB / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3865, allocations: 0 / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000203/0.3867, allocations: 85.47 kB / 475.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3868, allocations: 110.8 kB / 475.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3869, allocations: 125.5 kB / 475.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.387, allocations: 29.7 kB / 475.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.387, allocations: 88.12 kB / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.387, allocations: 15.84 kB / 475.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.387, allocations: 0 / 475.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3872, allocations: 322.9 kB / 475.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.3872, allocations: 12 kB / 475.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.3872, allocations: 57.94 kB / 475.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.3873, allocations: 24 kB / 475.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3873, allocations: 192 / 475.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000129/0.3874, allocations: 101.4 kB / 476 MB, free: 5.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3875, allocations: 7.938 kB / 476 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3875, allocations: 4 kB / 476 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3875, allocations: 8.172 kB / 476 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.3876, allocations: 15.98 kB / 476 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3876, allocations: 4.547 kB / 476 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.3877, allocations: 4 kB / 476 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3877, allocations: 4 kB / 476 MB, free: 5.477 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 6.823e-05/0.3878, allocations: 116.9 kB / 476.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3879, allocations: 69.5 kB / 476.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.3879, allocations: 8.094 kB / 476.2 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3879, allocations: 8.031 kB / 476.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3879, allocations: 3.953 kB / 476.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3879, allocations: 0 / 476.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3881, allocations: 181.6 kB / 476.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3881, allocations: 4 kB / 476.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.3882, allocations: 11.98 kB / 476.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3882, allocations: 4 kB / 476.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3882, allocations: 4.125 kB / 476.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3882, allocations: 3.984 kB / 476.4 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3882, allocations: 4 kB / 476.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3884, allocations: 216.4 kB / 476.6 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.3885, allocations: 93 kB / 476.7 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3885, allocations: 7.953 kB / 476.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.3886, allocations: 8 kB / 476.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.3887, allocations: 3.984 kB / 476.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3887, allocations: 4 kB / 476.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.3887, allocations: 111.2 kB / 476.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3887, allocations: 0 / 476.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.389, allocations: 15.94 kB / 476.9 MB, free: 4.508 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.0001212/0.3891, allocations: 99.25 kB / 477 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3892, allocations: 52.17 kB / 477 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3892, allocations: 0 / 477 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.3893, allocations: 7.938 kB / 477 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3895, allocations: 32.02 kB / 477.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.3899, allocations: 134.8 kB / 477.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3901, allocations: 0.7086 MB / 477.9 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.3902, allocations: 12.64 kB / 477.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3902, allocations: 11.44 kB / 477.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3902, allocations: 3.938 kB / 477.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of Templates: time 0.002617/0.3928, allocations: 0.742 MB / 478.7 MB, free: 2.66 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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