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.001411/0.001411, 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.499/1.499, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009542/0.0009539, allocations: 105.2 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.748e-05, allocations: 4 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.0988, allocations: 51.49 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.4171, allocations: 77.42 MB / 472.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4174, allocations: 78.83 kB / 472.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005826/0.4233, allocations: 2.298 MB / 475 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4233, allocations: 4 kB / 475 MB, free: 12.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.4233, allocations: 7.938 kB / 475 MB, free: 12.71 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.0002866/0.4236, allocations: 359.3 kB / 475.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4236, allocations: 15.22 kB / 475.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.4238, allocations: 22.03 kB / 475.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.424, allocations: 206.5 kB / 475.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.424, allocations: 4.859 kB / 475.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.424, allocations: 8 kB / 475.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.589e-05/0.4241, allocations: 25.12 kB / 475.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4243, allocations: 134.4 kB / 475.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4243, allocations: 0 / 475.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4243, allocations: 0.6562 kB / 475.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4244, allocations: 3.938 kB / 475.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.4247, allocations: 260.4 kB / 476 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.4247, allocations: 81.48 kB / 476.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.4248, allocations: 36.38 kB / 476.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4248, allocations: 0 / 476.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4249, allocations: 43.53 kB / 476.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.4249, allocations: 0 / 476.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001659/0.425, allocations: 65.56 kB / 476.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4251, allocations: 118.1 kB / 476.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.4252, allocations: 127.8 kB / 476.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.4252, allocations: 25.7 kB / 476.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.4252, allocations: 85.31 kB / 476.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.4252, allocations: 13.72 kB / 476.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4252, allocations: 0 / 476.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.4253, allocations: 317.4 kB / 476.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.4253, allocations: 15.88 kB / 476.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.4254, allocations: 56.55 kB / 477 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.4254, allocations: 21.47 kB / 477 MB, free: 10.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4254, allocations: 0 / 477 MB, free: 10.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001016/0.4255, allocations: 88.17 kB / 477.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4255, allocations: 5.688 kB / 477.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4256, allocations: 0 / 477.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4256, allocations: 7.938 kB / 477.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.4257, allocations: 19.12 kB / 477.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4257, allocations: 11.16 kB / 477.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.4257, allocations: 9.391 kB / 477.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4258, allocations: 4 kB / 477.1 MB, free: 10.52 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.589e-05/0.4258, allocations: 104.9 kB / 477.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.4259, allocations: 74.08 kB / 477.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.4259, allocations: 12.69 kB / 477.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.4259, allocations: 0 / 477.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.426, allocations: 0 / 477.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.426, allocations: 5.672 kB / 477.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.4261, allocations: 150.9 kB / 477.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4261, allocations: 0 / 477.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.4262, allocations: 18.98 kB / 477.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4262, allocations: 3.938 kB / 477.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4262, allocations: 4 kB / 477.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4262, allocations: 5.641 kB / 477.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4262, allocations: 1.547 kB / 477.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.4263, allocations: 205 kB / 477.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.4264, allocations: 104.5 kB / 477.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4264, allocations: 0 / 477.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.4265, allocations: 5.5 kB / 477.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.4265, allocations: 2.438 kB / 477.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4265, allocations: 8.578 kB / 477.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.4266, allocations: 107.4 kB / 477.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4266, allocations: 0 / 477.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.4268, allocations: 12 kB / 477.9 MB, free: 9.695 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.0001015/0.4269, allocations: 108.1 kB / 478 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.697e-05/0.427, allocations: 36.53 kB / 478.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.427, allocations: 0 / 478.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.4271, allocations: 8.188 kB / 478.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.4273, allocations: 45.19 kB / 478.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.4277, allocations: 129 kB / 478.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.4278, allocations: 0.7024 MB / 479 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.4279, allocations: 6.078 kB / 479 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.4279, allocations: 15.53 kB / 479 MB, free: 8.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4279, allocations: 0 / 479 MB, free: 8.66 MB / 346.7 MB Notification: Performance of Templates: time 0.002538/0.4304, allocations: 0.7064 MB / 479.7 MB, free: 8.273 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