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.00154/0.00154, allocations: 108.3 kB / 17.74 MB, free: 5.305 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.001742/0.001742, allocations: 183 kB / 18.67 MB, free: 4.383 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.491/1.491, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 55.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2997, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003754/0.3035, allocations: 1.609 MB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3047, allocations: 0.5414 MB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3048, allocations: 4 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.3052, allocations: 11.88 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.3053, allocations: 19.84 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3056, allocations: 51.83 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3058, allocations: 71.77 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3059, allocations: 12 kB / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.306, allocations: 43.83 kB / 403.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3062, allocations: 23.86 kB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3062, allocations: 4 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.3062, allocations: 7.938 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.3063, allocations: 23.97 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.3064, allocations: 35.73 kB / 403.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3066, allocations: 67.67 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3066, allocations: 4 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3066, allocations: 0 / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3066, allocations: 0 / 403.9 MB, free: 6.336 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.0005605/0.3072, allocations: 388.3 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3072, allocations: 11.89 kB / 404.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3073, allocations: 20.75 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3076, allocations: 194.4 kB / 404.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3076, allocations: 8.375 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3076, allocations: 4.125 kB / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.308, allocations: 161.7 kB / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.308, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.308, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.308, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3082, allocations: 35.91 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3086, allocations: 282.5 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3087, allocations: 83.7 kB / 405.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.3088, allocations: 46.75 kB / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3089, allocations: 11.86 kB / 405.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3089, allocations: 38.56 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.3089, allocations: 0 / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003424/0.3093, allocations: 105.5 kB / 405.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/0.3094, allocations: 119 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3095, allocations: 144.1 kB / 405.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3095, allocations: 25.7 kB / 405.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3096, allocations: 92.12 kB / 405.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3096, allocations: 7.906 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3097, allocations: 33.56 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3099, allocations: 318.8 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.31, allocations: 23.98 kB / 406 MB, free: 3.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3101, allocations: 58 kB / 406.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3102, allocations: 85.86 kB / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3102, allocations: 0 / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000206/0.3104, allocations: 109.6 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3105, allocations: 4 kB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3105, allocations: 0 / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3105, allocations: 4 kB / 406.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3106, allocations: 19.92 kB / 406.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3106, allocations: 4 kB / 406.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.3107, allocations: 3.938 kB / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3107, allocations: 4 kB / 406.3 MB, free: 3.625 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.0001072/0.3108, allocations: 125.8 kB / 406.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3109, allocations: 73.88 kB / 406.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.311, allocations: 16.36 kB / 406.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.311, allocations: 4 kB / 406.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.311, allocations: 4 kB / 406.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.311, allocations: 3.938 kB / 406.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3112, allocations: 181.6 kB / 406.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3112, allocations: 0 / 406.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.3113, allocations: 12 kB / 406.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3113, allocations: 0 / 406.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3113, allocations: 3.984 kB / 406.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3114, allocations: 8.031 kB / 406.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3114, allocations: 3.938 kB / 406.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.3116, allocations: 197 kB / 406.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.3117, allocations: 97 kB / 407 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3117, allocations: 4 kB / 407 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3118, allocations: 7.984 kB / 407.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3119, allocations: 4 kB / 407.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3119, allocations: 7.938 kB / 407.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.312, allocations: 111.2 kB / 407.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.312, allocations: 0 / 407.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3122, allocations: 11.91 kB / 407.2 MB, free: 2.656 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.0001673/0.3124, allocations: 111.3 kB / 407.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3126, allocations: 55.91 kB / 407.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3126, allocations: 3.938 kB / 407.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.3126, allocations: 7.984 kB / 407.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.313, allocations: 51.05 kB / 407.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.3136, allocations: 247.2 kB / 407.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3138, allocations: 0.7079 MB / 408.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.3139, allocations: 15.42 kB / 408.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3139, allocations: 0 / 408.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of Templates: time 0.002855/0.3167, allocations: 1.095 MB / 409.5 MB, free: 324 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