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.001214/0.001214, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 105.8 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008132/0.0008134, allocations: 35.94 kB / 350 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.32, allocations: 49.45 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003056/0.3231, allocations: 1.645 MB / 401.1 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3242, allocations: 0.5206 MB / 401.7 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3244, allocations: 4 kB / 401.7 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.3247, allocations: 23.84 kB / 401.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.3248, allocations: 7.25 kB / 401.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3251, allocations: 59.89 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3253, allocations: 67.77 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3254, allocations: 15.98 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3256, allocations: 27.86 kB / 401.9 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3257, allocations: 34.03 kB / 401.9 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3257, allocations: 4 kB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.3258, allocations: 0 / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.3259, allocations: 23.86 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.3259, allocations: 31.8 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3261, allocations: 63.73 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3261, allocations: 7.984 kB / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3261, allocations: 0 / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3261, allocations: 0 / 402 MB, free: 30.86 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.0006358/0.3267, allocations: 384.6 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3268, allocations: 12.03 kB / 402.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.3269, allocations: 8.844 kB / 402.4 MB, free: 30.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3271, allocations: 200.7 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3271, allocations: 4.375 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3272, allocations: 8.125 kB / 402.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.3275, allocations: 153.8 kB / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3275, allocations: 4 kB / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3276, allocations: 0 / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3276, allocations: 0 / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3277, allocations: 31.91 kB / 402.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.328, allocations: 286.5 kB / 403.1 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3282, allocations: 91.69 kB / 403.2 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3282, allocations: 42.75 kB / 403.2 MB, free: 29.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3283, allocations: 0 / 403.2 MB, free: 29.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3283, allocations: 42.5 kB / 403.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.3283, allocations: 0 / 403.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.00029/0.3286, allocations: 113.5 kB / 403.4 MB, free: 29.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3287, allocations: 110.7 kB / 403.5 MB, free: 29.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3288, allocations: 145.8 kB / 403.6 MB, free: 29.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3288, allocations: 25.7 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.3289, allocations: 88.12 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3289, allocations: 11.91 kB / 403.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3289, allocations: 21.72 kB / 403.8 MB, free: 28.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.329, allocations: 326.9 kB / 404.1 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.3291, allocations: 23.92 kB / 404.1 MB, free: 28.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.3291, allocations: 61.94 kB / 404.2 MB, free: 28.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.3292, allocations: 77.94 kB / 404.2 MB, free: 28.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3293, allocations: 3.938 kB / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001501/0.3294, allocations: 109.4 kB / 404.4 MB, free: 28.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3294, allocations: 8 kB / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3294, allocations: 0 / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3295, allocations: 4 kB / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.3296, allocations: 15.98 kB / 404.4 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3296, allocations: 7.922 kB / 404.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.3296, allocations: 7.938 kB / 404.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3296, allocations: 4.219 kB / 404.4 MB, free: 28.15 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.0001478/0.3298, allocations: 133.8 kB / 404.5 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.3299, allocations: 69.53 kB / 404.6 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.3299, allocations: 12.31 kB / 404.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3299, allocations: 4.297 kB / 404.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.33, allocations: 4 kB / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.33, allocations: 3.938 kB / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3301, allocations: 185.5 kB / 404.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3301, allocations: 3.984 kB / 404.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.3302, allocations: 12.03 kB / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3302, allocations: 4 kB / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3302, allocations: 0 / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3302, allocations: 0 / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3302, allocations: 7.984 kB / 404.8 MB, free: 27.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.3306, allocations: 0.7723 MB / 405.6 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3306, allocations: 93 kB / 405.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3307, allocations: 7.938 kB / 405.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.3307, allocations: 15.88 kB / 405.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3308, allocations: 3.984 kB / 405.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3308, allocations: 4 kB / 405.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.3308, allocations: 109.1 kB / 405.8 MB, free: 26.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3308, allocations: 0 / 405.8 MB, free: 26.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.3312, allocations: 16 kB / 405.8 MB, free: 26.55 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.0001192/0.3313, allocations: 100.2 kB / 405.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.3315, allocations: 51.91 kB / 406 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3315, allocations: 0 / 406 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.3315, allocations: 15.94 kB / 406 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3319, allocations: 48.56 kB / 406.1 MB, free: 26.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.3324, allocations: 357.4 kB / 406.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3325, allocations: 0.7083 MB / 407.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.3326, allocations: 12.64 kB / 407.1 MB, free: 25.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3326, allocations: 11.44 kB / 407.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3326, allocations: 0 / 407.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of Templates: time 0.002743/0.3353, allocations: 0.7872 MB / 407.9 MB, free: 24.4 MB / 298.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@2/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) Reference file matches