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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 195.8 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009125/0.0009125, allocations: 92.91 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.738e-06, allocations: 4 kB / 343.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09102, allocations: 51.48 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.3162, allocations: 77.35 MB / 472 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.3164, allocations: 74.19 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005512/0.3219, allocations: 1.98 MB / 474 MB, free: 13.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.322, allocations: 4 kB / 474 MB, free: 13.06 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.000279/0.3223, allocations: 364.1 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3223, allocations: 12.03 kB / 474.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3224, allocations: 27.22 kB / 474.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3226, allocations: 204.2 kB / 474.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3226, allocations: 0 / 474.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3227, allocations: 4 kB / 474.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.587e-05/0.3227, allocations: 18.69 kB / 474.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3229, allocations: 137.8 kB / 474.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.323, allocations: 3.938 kB / 474.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.323, allocations: 7.938 kB / 474.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.323, allocations: 0 / 474.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.3233, allocations: 269.6 kB / 475.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.3233, allocations: 79.59 kB / 475.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3234, allocations: 35.39 kB / 475.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3234, allocations: 2.625 kB / 475.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3234, allocations: 34.56 kB / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3235, allocations: 0 / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001786/0.3236, allocations: 73.61 kB / 475.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3237, allocations: 110.9 kB / 475.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.3238, allocations: 124.9 kB / 475.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.3238, allocations: 29.7 kB / 475.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.3238, allocations: 83.33 kB / 475.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.3238, allocations: 7.328 kB / 475.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.3238, allocations: 7.938 kB / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.3239, allocations: 321.3 kB / 476 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.3239, allocations: 15.38 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.3239, allocations: 48.02 kB / 476 MB, free: 10.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.324, allocations: 25.66 kB / 476 MB, free: 10.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.324, allocations: 0 / 476 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001085/0.3241, allocations: 85.11 kB / 476.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3241, allocations: 8 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3241, allocations: 0 / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3241, allocations: 4 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.3242, allocations: 19.44 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3243, allocations: 8 kB / 476.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.3243, allocations: 11.27 kB / 476.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3243, allocations: 4 kB / 476.2 MB, free: 10.86 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.605e-05/0.3244, allocations: 108.9 kB / 476.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.3245, allocations: 67.27 kB / 476.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3245, allocations: 12.31 kB / 476.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3245, allocations: 4 kB / 476.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3245, allocations: 5.25 kB / 476.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3246, allocations: 0 / 476.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3247, allocations: 158.7 kB / 476.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3247, allocations: 0 / 476.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.3248, allocations: 22.03 kB / 476.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3248, allocations: 0 / 476.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3248, allocations: 4 kB / 476.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3248, allocations: 0 / 476.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3248, allocations: 3.938 kB / 476.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001249/0.3249, allocations: 206.1 kB / 476.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.325, allocations: 92.48 kB / 476.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.325, allocations: 6.453 kB / 476.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.3251, allocations: 7.906 kB / 476.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3251, allocations: 6.062 kB / 476.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3252, allocations: 4 kB / 476.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-05/0.3252, allocations: 109.8 kB / 477 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.3255, allocations: 12 kB / 477 MB, free: 10.04 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.75e-05/0.3256, allocations: 99.25 kB / 477.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3257, allocations: 42.03 kB / 477.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3257, allocations: 448 / 477.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.3257, allocations: 11.12 kB / 477.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.326, allocations: 34.28 kB / 477.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.3263, allocations: 136.6 kB / 477.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3265, allocations: 0.7163 MB / 478 MB, free: 9.008 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3265, allocations: 0 / 478 MB, free: 9.008 MB / 346.7 MB Notification: Performance of Templates: time 0.002483/0.329, allocations: 0.759 MB / 478.8 MB, free: 8.594 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