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.001514/0.001514, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.624/1.624, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008821/0.0008826, allocations: 91.52 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003833, allocations: 15.92 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.415, allocations: 77.38 MB / 480.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.4154, allocations: 76.45 kB / 480.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006548/0.422, allocations: 2.225 MB / 482.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4221, allocations: 0 / 482.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.4221, allocations: 8 kB / 482.4 MB, free: 0.6484 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.0006267/0.4227, allocations: 383 kB / 482.8 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.4228, allocations: 12.03 kB / 482.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.4229, allocations: 8.844 kB / 482.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.4233, allocations: 207.5 kB / 483 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4233, allocations: 4.375 kB / 483 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.4233, allocations: 4.375 kB / 483 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.4238, allocations: 161.9 kB / 483.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4238, allocations: 0 / 483.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4238, allocations: 0 / 483.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4238, allocations: 4 kB / 483.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.424, allocations: 35.98 kB / 483.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.4245, allocations: 286.5 kB / 483.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4247, allocations: 87.83 kB / 483.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4248, allocations: 43.94 kB / 483.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.4249, allocations: 4 kB / 483.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.4249, allocations: 38.5 kB / 483.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.4249, allocations: 4 kB / 483.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004545/0.4254, allocations: 117.3 kB / 483.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.4255, allocations: 110.8 kB / 483.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4257, allocations: 138.1 kB / 484.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4258, allocations: 33.7 kB / 484.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.4259, allocations: 96.06 kB / 484.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.4259, allocations: 7.906 kB / 484.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4259, allocations: 0 / 484.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4261, allocations: 322.8 kB / 484.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.4262, allocations: 16 kB / 484.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.4263, allocations: 73.92 kB / 484.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4265, allocations: 81.94 kB / 484.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4265, allocations: 0 / 484.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002131/0.4267, allocations: 113.6 kB / 484.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4267, allocations: 4 kB / 484.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4268, allocations: 4 kB / 484.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4268, allocations: 7.938 kB / 484.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.4269, allocations: 12 kB / 484.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4269, allocations: 3.984 kB / 484.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.427, allocations: 4 kB / 484.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.427, allocations: 4.25 kB / 484.8 MB, free: 13.95 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.0001288/0.4271, allocations: 137.8 kB / 485 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4273, allocations: 77.56 kB / 485 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.4273, allocations: 12.31 kB / 485 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4273, allocations: 0 / 485 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4273, allocations: 4 kB / 485.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4274, allocations: 0 / 485.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4276, allocations: 181.6 kB / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4276, allocations: 0 / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.4277, allocations: 19.92 kB / 485.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4277, allocations: 0 / 485.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4277, allocations: 4.031 kB / 485.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4277, allocations: 4 kB / 485.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4277, allocations: 0 / 485.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.428, allocations: 197.1 kB / 485.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.4281, allocations: 113 kB / 485.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4281, allocations: 4 kB / 485.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.4282, allocations: 3.938 kB / 485.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.4282, allocations: 7.938 kB / 485.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4282, allocations: 4 kB / 485.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.4283, allocations: 117.4 kB / 485.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4283, allocations: 0 / 485.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.4286, allocations: 8 kB / 485.7 MB, free: 12.96 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.0001626/0.4288, allocations: 111.2 kB / 485.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.429, allocations: 55.91 kB / 485.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.429, allocations: 0 / 485.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.4291, allocations: 11.94 kB / 485.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.4295, allocations: 40.52 kB / 485.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.4302, allocations: 242.7 kB / 486.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.4306, allocations: 0.7004 MB / 486.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.4307, allocations: 4.672 kB / 486.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4307, allocations: 15.44 kB / 486.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4307, allocations: 0 / 486.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003213/0.4339, allocations: 0.7496 MB / 487.6 MB, free: 10.98 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/jenkins1/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