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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001636, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3809, allocations: 50.56 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003051/0.384, allocations: 1.614 MB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3851, allocations: 0.5999 MB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.3852, allocations: 7.875 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.3855, allocations: 19.86 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.3856, allocations: 11.92 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3859, allocations: 83.67 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.3861, allocations: 63.83 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3862, allocations: 15.98 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3864, allocations: 39.8 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3865, allocations: 31.84 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3865, allocations: 4 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.3866, allocations: 8 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.3867, allocations: 19.92 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.3867, allocations: 39.73 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3869, allocations: 71.52 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3869, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3869, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3869, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 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.0005664/0.3875, allocations: 399 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3876, allocations: 8.031 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3877, allocations: 24.83 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.388, allocations: 204.7 kB / 412.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3881, allocations: 8.375 kB / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3881, allocations: 8.125 kB / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3884, allocations: 145.9 kB / 412.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3885, allocations: 4 kB / 412.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3885, allocations: 0 / 412.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3885, allocations: 7.938 kB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3886, allocations: 23.98 kB / 412.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.3891, allocations: 286.5 kB / 413 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3893, allocations: 87.7 kB / 413.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3894, allocations: 50.73 kB / 413.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3895, allocations: 0 / 413.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3895, allocations: 38.56 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3895, allocations: 0 / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003442/0.3899, allocations: 109.5 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.39, allocations: 110.7 kB / 413.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3901, allocations: 153.4 kB / 413.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3902, allocations: 29.89 kB / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3903, allocations: 96.12 kB / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3903, allocations: 11.94 kB / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.3903, allocations: 21.72 kB / 413.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3905, allocations: 326.7 kB / 414 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.3906, allocations: 19.98 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.3907, allocations: 62 kB / 414.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3908, allocations: 81.88 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3908, allocations: 0 / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002011/0.391, allocations: 105.5 kB / 414.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3911, allocations: 8 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3911, allocations: 0 / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3911, allocations: 4 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3912, allocations: 24.14 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3912, allocations: 0 / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.3913, allocations: 7.938 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3913, allocations: 4.25 kB / 414.3 MB, free: 12.18 MB / 334.1 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 ($CLKPRE.fractionalDelay.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.3915, allocations: 125.8 kB / 414.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3916, allocations: 77.53 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3916, allocations: 12.31 kB / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3916, allocations: 3.984 kB / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3917, allocations: 4 kB / 414.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3917, allocations: 7.969 kB / 414.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.3919, allocations: 181.6 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3919, allocations: 0 / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.392, allocations: 15.94 kB / 414.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.392, allocations: 0 / 414.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.392, allocations: 0 / 414.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.392, allocations: 11.97 kB / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.392, allocations: 0 / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3923, allocations: 197.1 kB / 414.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.3924, allocations: 93.05 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3924, allocations: 4 kB / 415 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.3925, allocations: 3.984 kB / 415 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3925, allocations: 8 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3925, allocations: 3.938 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.3926, allocations: 120.5 kB / 415.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3926, allocations: 0 / 415.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3929, allocations: 11.94 kB / 415.2 MB, free: 11.21 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.393, allocations: 103.2 kB / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3932, allocations: 55.84 kB / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3932, allocations: 0 / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.3933, allocations: 16.42 kB / 415.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3937, allocations: 43.94 kB / 415.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.3942, allocations: 212.8 kB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3945, allocations: 0.7002 MB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3946, allocations: 12.58 kB / 416.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.3946, allocations: 11.44 kB / 416.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3946, allocations: 0 / 416.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of Templates: time 0.00339/0.398, allocations: 0.8614 MB / 417.2 MB, free: 9.148 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches