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.0009113/0.0009113, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.0008982/0.0008985, allocations: 87.09 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.602e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09651, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3848, allocations: 76.61 MB / 464.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3851, allocations: 79.94 kB / 464.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005913/0.391, allocations: 2.194 MB / 466.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3911, allocations: 0 / 466.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3911, allocations: 0 / 466.4 MB, free: 15.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.0003724/0.3914, allocations: 374.9 kB / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3915, allocations: 8.031 kB / 466.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3916, allocations: 11.86 kB / 466.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3918, allocations: 203.3 kB / 466.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3918, allocations: 0 / 466.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3919, allocations: 8 kB / 466.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.842e-05/0.392, allocations: 23.98 kB / 467 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3922, allocations: 130.7 kB / 467.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3923, allocations: 3.938 kB / 467.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3923, allocations: 3.953 kB / 467.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3923, allocations: 7.938 kB / 467.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3927, allocations: 255.2 kB / 467.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.3928, allocations: 75.72 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.3928, allocations: 44.06 kB / 467.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3929, allocations: 7.938 kB / 467.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3929, allocations: 30.56 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3929, allocations: 0 / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002136/0.3931, allocations: 77.48 kB / 467.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.3932, allocations: 114.9 kB / 467.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3933, allocations: 124 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3934, allocations: 25.7 kB / 467.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.3934, allocations: 92.14 kB / 467.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3935, allocations: 11.83 kB / 468 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3935, allocations: 0 / 468 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3936, allocations: 322.8 kB / 468.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.3936, allocations: 15.98 kB / 468.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.3937, allocations: 54.02 kB / 468.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.3937, allocations: 19.98 kB / 468.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3937, allocations: 4 kB / 468.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.3939, allocations: 85.45 kB / 468.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3939, allocations: 4 kB / 468.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3939, allocations: 4 kB / 468.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3939, allocations: 0 / 468.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.394, allocations: 19.94 kB / 468.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.394, allocations: 12.78 kB / 468.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.3941, allocations: 4.688 kB / 468.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3941, allocations: 4 kB / 468.5 MB, free: 13.56 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 7.877e-05/0.3942, allocations: 105 kB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.3943, allocations: 69.56 kB / 468.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.3944, allocations: 12.41 kB / 468.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3944, allocations: 7.984 kB / 468.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3944, allocations: 4 kB / 468.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3944, allocations: 7.984 kB / 468.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3945, allocations: 146.2 kB / 468.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3945, allocations: 4 kB / 468.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.3946, allocations: 11.98 kB / 468.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.3946, allocations: 4 kB / 468.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3946, allocations: 192 / 468.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3946, allocations: 0 / 468.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3947, allocations: 7.922 kB / 468.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3948, allocations: 220.4 kB / 469.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.3949, allocations: 93 kB / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3949, allocations: 4 kB / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.395, allocations: 7.984 kB / 469.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.395, allocations: 7.953 kB / 469.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.395, allocations: 4 kB / 469.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.3951, allocations: 103.8 kB / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3951, allocations: 0 / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.3953, allocations: 15.94 kB / 469.3 MB, free: 12.64 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 9.692e-05/0.3955, allocations: 95.25 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3956, allocations: 43.86 kB / 469.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3956, allocations: 0 / 469.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.3956, allocations: 8.438 kB / 469.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.3959, allocations: 32.08 kB / 469.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.3962, allocations: 137.8 kB / 469.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3965, allocations: 0.708 MB / 470.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.3965, allocations: 4.672 kB / 470.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.3965, allocations: 15.53 kB / 470.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3966, allocations: 0 / 470.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of Templates: time 0.002458/0.399, allocations: 0.7039 MB / 471.1 MB, free: 10.85 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