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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 51.91 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1164, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003295/0.1197, allocations: 1.606 MB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1209, allocations: 0.5493 MB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1211, allocations: 7.938 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1213, allocations: 11.86 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.1213, allocations: 15.92 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1216, allocations: 55.77 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1218, allocations: 79.75 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1219, allocations: 8 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.122, allocations: 35.91 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1221, allocations: 27.84 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1221, allocations: 4 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1221, allocations: 7.938 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1223, allocations: 19.92 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.1224, allocations: 39.73 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1225, allocations: 63.67 kB / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1225, allocations: 0 / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1225, allocations: 0 / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1225, allocations: 4 kB / 420.3 MB, free: 10.06 MB / 350.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.0006272/0.1232, allocations: 395 kB / 420.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1232, allocations: 8.031 kB / 420.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1232, allocations: 42.73 kB / 420.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1233, allocations: 12.84 kB / 420.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1236, allocations: 204.7 kB / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1236, allocations: 4.375 kB / 421 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1237, allocations: 11.94 kB / 421 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.124, allocations: 149.8 kB / 421.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.124, allocations: 0 / 421.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1241, allocations: 4 kB / 421.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1241, allocations: 0 / 421.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1242, allocations: 35.92 kB / 421.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.1246, allocations: 274.6 kB / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1248, allocations: 83.72 kB / 421.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.1249, allocations: 46.73 kB / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1249, allocations: 0 / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1249, allocations: 34.5 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1249, allocations: 0 / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003772/0.1253, allocations: 113.6 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.1254, allocations: 114.8 kB / 421.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1256, allocations: 147.8 kB / 422 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1257, allocations: 25.7 kB / 422 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1258, allocations: 92.14 kB / 422.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1259, allocations: 11.89 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1259, allocations: 29.8 kB / 422.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.1262, allocations: 326.8 kB / 422.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.1262, allocations: 15.94 kB / 422.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.1264, allocations: 61.98 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1266, allocations: 81.88 kB / 422.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1266, allocations: 0 / 422.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003301/0.1269, allocations: 109.5 kB / 422.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1269, allocations: 4 kB / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1269, allocations: 4 kB / 422.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.127, allocations: 0 / 422.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1271, allocations: 12 kB / 422.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1271, allocations: 15.91 kB / 422.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.1271, allocations: 15.89 kB / 422.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1272, allocations: 8.469 kB / 422.8 MB, free: 7.285 MB / 350.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.0001243/0.1273, allocations: 117.8 kB / 422.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.1274, allocations: 77.56 kB / 423 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.1275, allocations: 12.31 kB / 423 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1275, allocations: 4 kB / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1275, allocations: 0 / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1275, allocations: 3.938 kB / 423 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1277, allocations: 177.6 kB / 423.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1277, allocations: 0 / 423.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.1278, allocations: 20.02 kB / 423.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1278, allocations: 0 / 423.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1278, allocations: 8 kB / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1278, allocations: 0 / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1278, allocations: 0 / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1281, allocations: 197.1 kB / 423.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.1282, allocations: 105 kB / 423.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1282, allocations: 4 kB / 423.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.1283, allocations: 8 kB / 423.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1283, allocations: 3.938 kB / 423.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1283, allocations: 0 / 423.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1284, allocations: 112.8 kB / 423.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1284, allocations: 0 / 423.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1287, allocations: 15.94 kB / 423.6 MB, free: 6.328 MB / 350.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.0008613/0.1295, allocations: 0.7688 MB / 424.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.1299, allocations: 60.28 kB / 424.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1299, allocations: 0 / 424.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.1299, allocations: 11.92 kB / 424.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1303, allocations: 35.95 kB / 424.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1325, allocations: 1.555 MB / 426 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1329, allocations: 0.7041 MB / 426.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.133, allocations: 8.656 kB / 426.8 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.133, allocations: 27.38 kB / 426.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.133, allocations: 0 / 426.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.163, allocations: 2.098 MB / 428.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.284, allocations: 7.984 kB / 428.9 MB, free: 1.02 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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 1.7939e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:time,previous(fractionalDelay.u_buffer[1]),fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,sample1.y [Calling sys.exit(0), Time elapsed: 10.925161364022642]