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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 114.8 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 184.5 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 43.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3201, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003332/0.3235, allocations: 1.613 MB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3246, allocations: 0.5336 MB / 403.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.3247, allocations: 4 kB / 403.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.325, allocations: 19.8 kB / 403.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.3251, allocations: 15.91 kB / 403.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3254, allocations: 58.83 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3255, allocations: 71.77 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3257, allocations: 12 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3258, allocations: 31.84 kB / 403.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3259, allocations: 35.84 kB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.326, allocations: 4 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.326, allocations: 11.94 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.3261, allocations: 15.97 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.3261, allocations: 31.75 kB / 403.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3263, allocations: 71.72 kB / 403.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3263, allocations: 3.938 kB / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3263, allocations: 0 / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3263, allocations: 0 / 403.9 MB, free: 6.359 MB / 318.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.000637/0.327, allocations: 388.3 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.327, allocations: 15.89 kB / 404.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3271, allocations: 16.75 kB / 404.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3274, allocations: 200.6 kB / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3274, allocations: 4.375 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3275, allocations: 12.12 kB / 404.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.3278, allocations: 145.9 kB / 404.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3279, allocations: 3.938 kB / 404.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3279, allocations: 4 kB / 404.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3279, allocations: 0 / 404.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.328, allocations: 31.97 kB / 404.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3284, allocations: 286.5 kB / 405 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3286, allocations: 79.77 kB / 405.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.3287, allocations: 46.67 kB / 405.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.3287, allocations: 11.92 kB / 405.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3287, allocations: 34.56 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3287, allocations: 0 / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000372/0.3291, allocations: 109.6 kB / 405.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.3292, allocations: 110.9 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3294, allocations: 142.1 kB / 405.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3294, allocations: 33.7 kB / 405.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.3295, allocations: 92.12 kB / 405.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3296, allocations: 7.906 kB / 405.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3296, allocations: 25.62 kB / 405.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3297, allocations: 322.8 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.3298, allocations: 23.98 kB / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.3299, allocations: 65.88 kB / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.33, allocations: 81.94 kB / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.33, allocations: 0 / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001985/0.3302, allocations: 105.4 kB / 406.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3303, allocations: 4 kB / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.3303, allocations: 4 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3303, allocations: 8.156 kB / 406.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3305, allocations: 15.98 kB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3305, allocations: 4 kB / 406.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.3305, allocations: 11.94 kB / 406.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3306, allocations: 4 kB / 406.3 MB, free: 3.641 MB / 318.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.0001221/0.3307, allocations: 125.8 kB / 406.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3308, allocations: 65.59 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.3309, allocations: 12.31 kB / 406.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3309, allocations: 8.031 kB / 406.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3309, allocations: 3.984 kB / 406.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3309, allocations: 3.938 kB / 406.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3311, allocations: 173.6 kB / 406.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3311, allocations: 3.984 kB / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.3312, allocations: 15.94 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3312, allocations: 0 / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3312, allocations: 4 kB / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3312, allocations: 4 kB / 406.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3312, allocations: 0 / 406.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3315, allocations: 205 kB / 406.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.3316, allocations: 89 kB / 407 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3316, allocations: 8 kB / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3317, allocations: 0 / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3317, allocations: 11.92 kB / 407.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3318, allocations: 8 kB / 407.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.3319, allocations: 116.9 kB / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3321, allocations: 15.91 kB / 407.2 MB, free: 2.676 MB / 318.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.0001752/0.3323, allocations: 103.2 kB / 407.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3325, allocations: 55.91 kB / 407.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3325, allocations: 448 / 407.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.3326, allocations: 15.94 kB / 407.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.333, allocations: 44.12 kB / 407.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.3336, allocations: 246.6 kB / 407.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3341, allocations: 0.7117 MB / 408.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.3341, allocations: 19.59 kB / 408.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3341, allocations: 0 / 408.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of Templates: time 0.003016/0.3372, allocations: 1.076 MB / 409.4 MB, free: 364 kB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches