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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009193/0.0009194, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002806, allocations: 8 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002758/0.1252, allocations: 1.309 MB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1269, allocations: 0.5809 MB / 360.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1271, allocations: 7.938 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1274, allocations: 7.938 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.1275, allocations: 7.922 kB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1279, allocations: 63.88 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1281, allocations: 59.78 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1283, allocations: 19.97 kB / 360.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1284, allocations: 31.84 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1286, allocations: 23.86 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1286, allocations: 4 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.1287, allocations: 4 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.1287, allocations: 19.97 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.1288, allocations: 37.64 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1289, allocations: 43.91 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1289, allocations: 8 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1289, allocations: 0 / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.129, allocations: 0 / 360.9 MB, free: 11.19 MB / 302.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.0006031/0.1296, allocations: 383.1 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1296, allocations: 12.03 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.1298, allocations: 23.8 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1301, allocations: 194.5 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1301, allocations: 8 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1301, allocations: 8 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.1305, allocations: 157.6 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1306, allocations: 0 / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1306, allocations: 4 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1306, allocations: 4 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1307, allocations: 39.91 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1312, allocations: 282.6 kB / 361.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1314, allocations: 87.67 kB / 362 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.1315, allocations: 42.75 kB / 362.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1315, allocations: 4 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.1316, allocations: 38.5 kB / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1316, allocations: 0 / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003635/0.132, allocations: 113.5 kB / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.1321, allocations: 115 kB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1323, allocations: 139 kB / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1323, allocations: 33.7 kB / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.1324, allocations: 92.03 kB / 362.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1324, allocations: 8 kB / 362.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1324, allocations: 0 / 362.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1325, allocations: 318.8 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.1326, allocations: 19.98 kB / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.1327, allocations: 69.92 kB / 363 MB, free: 8.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.1328, allocations: 31.98 kB / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1328, allocations: 0 / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002074/0.133, allocations: 113.3 kB / 363.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.133, allocations: 4 kB / 363.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1331, allocations: 8.219 kB / 363.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1331, allocations: 0 / 363.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1332, allocations: 19.98 kB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1332, allocations: 4 kB / 363.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.1333, allocations: 11.89 kB / 363.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1333, allocations: 4 kB / 363.2 MB, free: 8.547 MB / 302.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.0001268/0.1334, allocations: 129.7 kB / 363.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1336, allocations: 73.53 kB / 363.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.1336, allocations: 24.27 kB / 363.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1336, allocations: 0 / 363.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1336, allocations: 0 / 363.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1336, allocations: 4 kB / 363.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1338, allocations: 177.6 kB / 363.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1339, allocations: 3.938 kB / 363.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.1339, allocations: 15.98 kB / 363.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1339, allocations: 0 / 363.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.134, allocations: 4.141 kB / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.134, allocations: 0 / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.134, allocations: 11.94 kB / 363.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1342, allocations: 193.4 kB / 363.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1343, allocations: 97 kB / 363.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1343, allocations: 7.984 kB / 363.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.1344, allocations: 15.95 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1344, allocations: 4 kB / 363.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1345, allocations: 0 / 363.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.74e-05/0.1346, allocations: 119.4 kB / 364.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 364.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1348, allocations: 8 kB / 364.1 MB, free: 7.57 MB / 302.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.0001283/0.135, allocations: 95.33 kB / 364.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1352, allocations: 67.89 kB / 364.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1352, allocations: 0 / 364.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.1352, allocations: 15.92 kB / 364.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1356, allocations: 36.7 kB / 364.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1362, allocations: 247.3 kB / 364.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1365, allocations: 0.7043 MB / 365.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.1366, allocations: 8.438 kB / 365.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1366, allocations: 11.44 kB / 365.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1366, allocations: 0 / 365.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of Templates: time 0.003264/0.1399, allocations: 0.7382 MB / 366 MB, free: 5.594 MB / 302.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time