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.001664/0.001664, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4283, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003173/0.4315, allocations: 1.615 MB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4328, allocations: 0.6037 MB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.4329, allocations: 0 / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.4332, allocations: 23.73 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.4332, allocations: 11.92 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.4336, allocations: 79.73 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.4337, allocations: 63.83 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4339, allocations: 19.98 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.434, allocations: 31.86 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4342, allocations: 35.84 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.4342, allocations: 4 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.4342, allocations: 4 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.4343, allocations: 27.91 kB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.4344, allocations: 31.75 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.4346, allocations: 75.66 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4346, allocations: 0 / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4346, allocations: 0 / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4346, allocations: 0 / 411.9 MB, free: 14.96 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.0005826/0.4352, allocations: 408.1 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4352, allocations: 8.031 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4354, allocations: 20.83 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4357, allocations: 204.2 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4357, allocations: 384 / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.4357, allocations: 12.12 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4361, allocations: 153.8 kB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4361, allocations: 0 / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4361, allocations: 0 / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4361, allocations: 4 kB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4362, allocations: 35.91 kB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.4366, allocations: 282.5 kB / 413 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4367, allocations: 83.7 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.4368, allocations: 50.75 kB / 413.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4369, allocations: 3.938 kB / 413.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4369, allocations: 34.56 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.4369, allocations: 0 / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000312/0.4372, allocations: 113.6 kB / 413.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.4373, allocations: 114.8 kB / 413.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4374, allocations: 142.4 kB / 413.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4375, allocations: 29.7 kB / 413.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.4375, allocations: 92.12 kB / 413.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.4375, allocations: 11.89 kB / 413.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4376, allocations: 21.72 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4377, allocations: 326.8 kB / 414 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.4378, allocations: 23.92 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.4379, allocations: 54 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.438, allocations: 89.86 kB / 414.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.438, allocations: 192 / 414.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001822/0.4382, allocations: 105.5 kB / 414.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4382, allocations: 7.938 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4382, allocations: 4.25 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4383, allocations: 0 / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.4384, allocations: 27.92 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4384, allocations: 4 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.4384, allocations: 7.938 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4384, allocations: 0 / 414.3 MB, free: 12.21 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 9.83e-05/0.4385, allocations: 130 kB / 414.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4387, allocations: 77.44 kB / 414.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.4387, allocations: 16.3 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4387, allocations: 4 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4387, allocations: 0 / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4388, allocations: 3.938 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.439, allocations: 181.6 kB / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.439, allocations: 0 / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.439, allocations: 12 kB / 414.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.439, allocations: 4.031 kB / 414.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4391, allocations: 3.984 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4391, allocations: 4 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4391, allocations: 3.938 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4393, allocations: 193.1 kB / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.4394, allocations: 97 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4394, allocations: 4 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.4395, allocations: 3.984 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.4395, allocations: 4 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.4396, allocations: 3.938 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.4397, allocations: 116.4 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4397, allocations: 0 / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.4399, allocations: 12 kB / 415.2 MB, free: 11.24 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.0001322/0.44, allocations: 107.2 kB / 415.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4403, allocations: 55.91 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4403, allocations: 3.938 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.4403, allocations: 11.98 kB / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4407, allocations: 46.86 kB / 415.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.4412, allocations: 205.6 kB / 415.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.4415, allocations: 0.7117 MB / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.4415, allocations: 12.42 kB / 416.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4416, allocations: 11.44 kB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4416, allocations: 0 / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.003377/0.4449, allocations: 0.8699 MB / 417.2 MB, free: 9.164 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