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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001705, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.72 kB / 307.1 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1225, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003824/0.1264, allocations: 1.605 MB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1278, allocations: 0.6193 MB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.128, allocations: 0 / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1284, allocations: 19.88 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.1285, allocations: 11.86 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.129, allocations: 75.8 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1292, allocations: 63.78 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1293, allocations: 19.97 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1295, allocations: 39.84 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1296, allocations: 31.86 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1296, allocations: 8 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.1297, allocations: 4 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.1298, allocations: 23.91 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.1299, allocations: 39.73 kB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.13, allocations: 71.72 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1301, allocations: 0 / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1301, allocations: 0 / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1301, allocations: 0 / 360.2 MB, free: 11.33 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.0005799/0.1307, allocations: 395.3 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1307, allocations: 12.03 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1308, allocations: 34.75 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.1309, allocations: 24.73 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1312, allocations: 211.6 kB / 360.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1312, allocations: 8.375 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1312, allocations: 7.938 kB / 360.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1316, allocations: 157.7 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1316, allocations: 0 / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1316, allocations: 0 / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1317, allocations: 0 / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1318, allocations: 31.92 kB / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.1322, allocations: 286.6 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1323, allocations: 83.7 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.1324, allocations: 42.75 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1325, allocations: 4 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1325, allocations: 38.5 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1325, allocations: 0 / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003802/0.1329, allocations: 105.5 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.133, allocations: 107.1 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1332, allocations: 154.4 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1332, allocations: 29.7 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.1333, allocations: 88.14 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1334, allocations: 11.89 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.1334, allocations: 21.62 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1336, allocations: 322.8 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.1337, allocations: 23.92 kB / 362.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.1338, allocations: 66 kB / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1339, allocations: 77.94 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1339, allocations: 7.875 kB / 362.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002052/0.1341, allocations: 105.4 kB / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1342, allocations: 11.19 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1342, allocations: 4 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1342, allocations: 4 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1343, allocations: 15.98 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1344, allocations: 4.125 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.1344, allocations: 11.88 kB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1344, allocations: 7.938 kB / 362.7 MB, free: 8.535 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 ($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.0002853/0.1347, allocations: 129.8 kB / 362.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1349, allocations: 69.53 kB / 362.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.1349, allocations: 16.34 kB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1349, allocations: 0 / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.135, allocations: 7.984 kB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.135, allocations: 3.938 kB / 362.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1352, allocations: 177.6 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1352, allocations: 0 / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1353, allocations: 12 kB / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1353, allocations: 0 / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1353, allocations: 320 / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1353, allocations: 0 / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1353, allocations: 11.98 kB / 363.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1356, allocations: 205 kB / 363.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.1357, allocations: 100.9 kB / 363.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1358, allocations: 4 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1358, allocations: 0 / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.1359, allocations: 15.92 kB / 363.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1359, allocations: 4 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.136, allocations: 114.8 kB / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.136, allocations: 0 / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1363, allocations: 8 kB / 363.5 MB, free: 7.566 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 (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.0008312/0.1371, allocations: 0.7571 MB / 364.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1374, allocations: 63.89 kB / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1374, allocations: 0 / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.1374, allocations: 8.438 kB / 364.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1379, allocations: 44.02 kB / 364.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1397, allocations: 1.557 MB / 366 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1399, allocations: 0.6924 MB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.14, allocations: 12.42 kB / 366.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.1401, allocations: 27.42 kB / 366.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1401, allocations: 4 kB / 366.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1616, allocations: 2.048 MB / 368.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.063, allocations: 3.859 kB / 368.7 MB, free: 2.293 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv","/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_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:time,fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,sample1.y,sine.y