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.0009421/0.0009423, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001126/0.001126, allocations: 183.1 kB / 17.19 MB, free: 5.906 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.505/1.505, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002544, allocations: 7.781 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1077, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001783/0.1096, allocations: 1.306 MB / 352.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.1104, allocations: 0.503 MB / 352.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.1105, allocations: 3.938 kB / 352.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1107, allocations: 15.91 kB / 353 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.1107, allocations: 11.98 kB / 353 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.111, allocations: 51.81 kB / 353 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1111, allocations: 43.89 kB / 353.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1112, allocations: 12.27 kB / 353.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.1113, allocations: 27.92 kB / 353.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1114, allocations: 27.78 kB / 353.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1114, allocations: 4 kB / 353.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.1114, allocations: 3.938 kB / 353.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1115, allocations: 15.98 kB / 353.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.1116, allocations: 37.64 kB / 353.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.1116, allocations: 47.84 kB / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1116, allocations: 0 / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1117, allocations: 0 / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1117, allocations: 4 kB / 353.2 MB, free: 9.621 MB / 286.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.0005193/0.1122, allocations: 375 kB / 353.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1122, allocations: 8.031 kB / 353.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1123, allocations: 11.86 kB / 353.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1126, allocations: 200.9 kB / 353.8 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1126, allocations: 4 kB / 353.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1127, allocations: 4 kB / 353.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.113, allocations: 157.8 kB / 354 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.113, allocations: 3.984 kB / 354 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.113, allocations: 0 / 354 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1131, allocations: 4 kB / 354 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1132, allocations: 47.86 kB / 354 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1135, allocations: 278.6 kB / 354.3 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1137, allocations: 83.84 kB / 354.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1137, allocations: 0 / 354.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1137, allocations: 34.62 kB / 354.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.1137, allocations: 0 / 354.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003125/0.1141, allocations: 121.5 kB / 354.5 MB, free: 8.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.1142, allocations: 110.8 kB / 354.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1143, allocations: 144.4 kB / 354.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1143, allocations: 29.7 kB / 354.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1144, allocations: 88.12 kB / 354.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1144, allocations: 15.84 kB / 354.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1144, allocations: 4.156 kB / 354.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1145, allocations: 322.8 kB / 355.2 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.1146, allocations: 16 kB / 355.3 MB, free: 7.344 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.1147, allocations: 65.86 kB / 355.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.1147, allocations: 31.94 kB / 355.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1148, allocations: 4 kB / 355.4 MB, free: 7.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000189/0.1149, allocations: 109.4 kB / 355.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.115, allocations: 4 kB / 355.5 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.115, allocations: 4 kB / 355.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.115, allocations: 0 / 355.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.1151, allocations: 23.88 kB / 355.5 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1151, allocations: 7.984 kB / 355.5 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.1152, allocations: 8 kB / 355.5 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1152, allocations: 8.219 kB / 355.5 MB, free: 7.055 MB / 286.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 (fractionalDelay.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1153, allocations: 125.8 kB / 355.6 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1155, allocations: 69.59 kB / 355.7 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.1155, allocations: 12.31 kB / 355.7 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1155, allocations: 4.297 kB / 355.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1155, allocations: 3.953 kB / 355.7 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1155, allocations: 4 kB / 355.7 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1157, allocations: 173.7 kB / 355.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1157, allocations: 3.984 kB / 355.9 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.1158, allocations: 15.97 kB / 355.9 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1158, allocations: 4 kB / 355.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1158, allocations: 4 kB / 355.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1158, allocations: 0 / 355.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1158, allocations: 7.984 kB / 355.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1161, allocations: 224.4 kB / 356.2 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.1162, allocations: 100.9 kB / 356.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1162, allocations: 3.953 kB / 356.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.1163, allocations: 7.984 kB / 356.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1163, allocations: 7.938 kB / 356.3 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1163, allocations: 0 / 356.3 MB, free: 6.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.1164, allocations: 122.4 kB / 356.4 MB, free: 6.059 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1164, allocations: 0 / 356.4 MB, free: 6.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1167, allocations: 8 kB / 356.4 MB, free: 6.051 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.1168, allocations: 97.64 kB / 356.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.117, allocations: 60.28 kB / 356.6 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.117, allocations: 4.062 kB / 356.6 MB, free: 5.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.117, allocations: 8.188 kB / 356.6 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1173, allocations: 51.81 kB / 356.6 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1178, allocations: 238.8 kB / 356.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1181, allocations: 0.7043 MB / 357.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.1181, allocations: 8.656 kB / 357.6 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1182, allocations: 11.44 kB / 357.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1182, allocations: 0 / 357.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of Templates: time 0.002821/0.121, allocations: 0.7245 MB / 358.3 MB, free: 4.086 MB / 286.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/jenkins/ws/OpenModelicaLibraryTestingWork/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) "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:fractionalDelay.n,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time