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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.001129, allocations: 109.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 55.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3392, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00274/0.342, allocations: 1.673 MB / 408.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.3429, allocations: 0.5751 MB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.343, allocations: 7.938 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.3433, allocations: 15.94 kB / 409.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.3433, allocations: 10.86 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3436, allocations: 67.12 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3437, allocations: 59.84 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3438, allocations: 11.98 kB / 409.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.344, allocations: 39.78 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3441, allocations: 34.81 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3441, allocations: 0 / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.3442, allocations: 4 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.3443, allocations: 19.92 kB / 409.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.3443, allocations: 31.8 kB / 409.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3445, allocations: 75.72 kB / 409.7 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3445, allocations: 0 / 409.7 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3445, allocations: 0 / 409.7 MB, free: 25.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3445, allocations: 4 kB / 409.7 MB, free: 25.19 MB / 298.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.0005665/0.3451, allocations: 388.6 kB / 410 MB, free: 24.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3451, allocations: 12.88 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.3453, allocations: 20.77 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3455, allocations: 200.2 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3456, allocations: 8.312 kB / 410.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3456, allocations: 8.125 kB / 410.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.3459, allocations: 149.9 kB / 410.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3459, allocations: 0 / 410.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3459, allocations: 3.938 kB / 410.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.346, allocations: 0 / 410.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.3461, allocations: 35.92 kB / 410.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.3464, allocations: 282.5 kB / 410.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3465, allocations: 79.84 kB / 410.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.3465, allocations: 50.55 kB / 410.9 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3466, allocations: 11.98 kB / 410.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.3466, allocations: 30.56 kB / 410.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3466, allocations: 0 / 410.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002878/0.3469, allocations: 109.6 kB / 411 MB, free: 23.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.347, allocations: 118.8 kB / 411.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.3471, allocations: 141.8 kB / 411.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3471, allocations: 25.7 kB / 411.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.3471, allocations: 92.14 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3472, allocations: 7.891 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.3472, allocations: 25.72 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.3473, allocations: 326.8 kB / 411.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.3473, allocations: 16 kB / 411.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.3474, allocations: 58.23 kB / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.3475, allocations: 85.88 kB / 411.9 MB, free: 22.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3475, allocations: 4 kB / 411.9 MB, free: 22.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001493/0.3476, allocations: 109.4 kB / 412 MB, free: 22.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3477, allocations: 4.812 kB / 412 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3477, allocations: 4 kB / 412 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3477, allocations: 3.938 kB / 412 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3478, allocations: 15.94 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/0.3478, allocations: 7.984 kB / 412.1 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.3479, allocations: 11.92 kB / 412.1 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3479, allocations: 11.98 kB / 412.1 MB, free: 22.46 MB / 298.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 ($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.0001614/0.3481, allocations: 127.5 kB / 412.2 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.3482, allocations: 73.53 kB / 412.3 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.3482, allocations: 12.31 kB / 412.3 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3482, allocations: 4 kB / 412.3 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3482, allocations: 0 / 412.3 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3482, allocations: 3.938 kB / 412.3 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3484, allocations: 181.5 kB / 412.5 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3484, allocations: 3.938 kB / 412.5 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.3485, allocations: 15.98 kB / 412.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3485, allocations: 4.031 kB / 412.5 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3485, allocations: 3.938 kB / 412.5 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3485, allocations: 4 kB / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3485, allocations: 0 / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3489, allocations: 0.7723 MB / 413.3 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.3489, allocations: 96.98 kB / 413.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.349, allocations: 7.938 kB / 413.4 MB, free: 21.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.349, allocations: 4 kB / 413.4 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.3491, allocations: 0 / 413.4 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3491, allocations: 4 kB / 413.4 MB, free: 21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.907e-05/0.3491, allocations: 109.9 kB / 413.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3491, allocations: 4 kB / 413.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.3495, allocations: 12 kB / 413.5 MB, free: 20.88 MB / 298.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 (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.0001166/0.3496, allocations: 103.2 kB / 413.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.3498, allocations: 59.84 kB / 413.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3498, allocations: 0 / 413.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.3498, allocations: 8 kB / 413.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3502, allocations: 36.64 kB / 413.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.3507, allocations: 369.4 kB / 414.1 MB, free: 20.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3509, allocations: 0.7083 MB / 414.8 MB, free: 19.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.3509, allocations: 8.672 kB / 414.8 MB, free: 19.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.351, allocations: 11.44 kB / 414.8 MB, free: 19.5 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.351, allocations: 0 / 414.8 MB, free: 19.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002897/0.3539, allocations: 0.8008 MB / 415.6 MB, free: 18.71 MB / 298.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@2/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) Reference file matches