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.001354/0.001354, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.353/1.353, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 96.02 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003446, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09734/0.3986, allocations: 77.35 MB / 478.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3989, allocations: 85.03 kB / 478.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005967/0.4049, allocations: 2.213 MB / 481.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4049, allocations: 0 / 481.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4049, allocations: 4 kB / 481.1 MB, free: 0.8477 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.0004077/0.4053, allocations: 398.8 kB / 481.5 MB, free: 420 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4054, allocations: 8.031 kB / 481.5 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.4054, allocations: 11.86 kB / 481.6 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.4057, allocations: 195.5 kB / 481.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4057, allocations: 0 / 481.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4057, allocations: 8 kB / 481.8 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.4061, allocations: 153.7 kB / 481.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4061, allocations: 4 kB / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4061, allocations: 0 / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4061, allocations: 7.938 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4062, allocations: 39.91 kB / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4066, allocations: 286.6 kB / 482.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4068, allocations: 87.72 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4068, allocations: 0 / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4068, allocations: 35.88 kB / 482.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4068, allocations: 4.062 kB / 482.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003247/0.4072, allocations: 121.7 kB / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.4072, allocations: 114.8 kB / 482.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4074, allocations: 125.5 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4074, allocations: 29.7 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.4074, allocations: 88.08 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.4075, allocations: 15.89 kB / 482.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.4075, allocations: 0 / 482.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4076, allocations: 318.9 kB / 483.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.4076, allocations: 19.98 kB / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.4077, allocations: 69.88 kB / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.4078, allocations: 27.98 kB / 483.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4078, allocations: 0 / 483.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001796/0.408, allocations: 117.5 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.408, allocations: 4 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.408, allocations: 0 / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.408, allocations: 4 kB / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.4081, allocations: 23.88 kB / 483.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4082, allocations: 4 kB / 483.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.4082, allocations: 4 kB / 483.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4082, allocations: 4 kB / 483.4 MB, free: 14.28 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.0001002/0.4083, allocations: 134 kB / 483.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4084, allocations: 69.53 kB / 483.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4085, allocations: 8.312 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4085, allocations: 4 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4085, allocations: 3.953 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4085, allocations: 0 / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4087, allocations: 181.6 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4087, allocations: 4 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.4088, allocations: 15.92 kB / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4088, allocations: 8.031 kB / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.4088, allocations: 0 / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4088, allocations: 0 / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4088, allocations: 0 / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.409, allocations: 232.4 kB / 484.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.4091, allocations: 100.9 kB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4091, allocations: 3.953 kB / 484.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.4092, allocations: 8.312 kB / 484.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.4092, allocations: 3.938 kB / 484.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4093, allocations: 11.98 kB / 484.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.4093, allocations: 105.7 kB / 484.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4093, allocations: 4 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.4096, allocations: 16 kB / 484.3 MB, free: 13.26 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.0001202/0.4097, allocations: 99.23 kB / 484.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.4099, allocations: 55.91 kB / 484.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4099, allocations: 448 / 484.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.4099, allocations: 16.19 kB / 484.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4102, allocations: 54.39 kB / 484.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.4107, allocations: 238.8 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4109, allocations: 0.7043 MB / 485.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.411, allocations: 8.656 kB / 485.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.411, allocations: 11.44 kB / 485.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.411, allocations: 0 / 485.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.0026/0.4136, allocations: 0.7296 MB / 486.2 MB, free: 11.29 MB / 362.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