Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 51.88 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1155, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003282/0.1188, allocations: 1.622 MB / 427.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1201, allocations: 0.6155 MB / 428.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1202, allocations: 3.938 kB / 428.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1205, allocations: 15.86 kB / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.1205, allocations: 11.88 kB / 428.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1209, allocations: 87.72 kB / 428.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1211, allocations: 63.78 kB / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1212, allocations: 15.98 kB / 428.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1214, allocations: 35.84 kB / 428.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1215, allocations: 31.84 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1215, allocations: 4 kB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.1215, allocations: 8 kB / 428.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.1216, allocations: 23.92 kB / 428.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.1217, allocations: 31.8 kB / 428.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1219, allocations: 83.47 kB / 429 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1219, allocations: 4 kB / 429 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1219, allocations: 0 / 429 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1219, allocations: 0 / 429 MB, free: 2.137 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.0006365/0.1225, allocations: 391 kB / 429.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1226, allocations: 11.97 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.1226, allocations: 30.75 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1228, allocations: 20.88 kB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1231, allocations: 216.7 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1231, allocations: 8.312 kB / 429.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1232, allocations: 7.938 kB / 429.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1236, allocations: 149.8 kB / 429.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1236, allocations: 4 kB / 429.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1236, allocations: 4 kB / 429.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1236, allocations: 0 / 429.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1237, allocations: 35.91 kB / 429.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1241, allocations: 278.6 kB / 430.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1242, allocations: 83.72 kB / 430.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.1243, allocations: 38.75 kB / 430.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1243, allocations: 11.92 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1244, allocations: 38.56 kB / 430.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1244, allocations: 0 / 430.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003389/0.1247, allocations: 105.5 kB / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.1248, allocations: 110.8 kB / 430.5 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.125, allocations: 152.4 kB / 430.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.125, allocations: 25.7 kB / 430.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.125, allocations: 100.3 kB / 430.8 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1251, allocations: 7.938 kB / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1251, allocations: 25.72 kB / 430.8 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1253, allocations: 318.8 kB / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1253, allocations: 12 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1254, allocations: 73.98 kB / 431.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1255, allocations: 77.88 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1256, allocations: 4.188 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001999/0.1258, allocations: 105.5 kB / 431.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1258, allocations: 11.94 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1258, allocations: 3.938 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1258, allocations: 4 kB / 431.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.1259, allocations: 16.16 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1259, allocations: 7.984 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.126, allocations: 11.88 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.126, allocations: 4 kB / 431.4 MB, free: 15.34 MB / 366.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.0001353/0.1261, allocations: 125.8 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1262, allocations: 73.53 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.1263, allocations: 16.31 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1263, allocations: 0 / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1263, allocations: 0 / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1263, allocations: 11.97 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1265, allocations: 173.6 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1265, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.1265, allocations: 11.98 kB / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1266, allocations: 4 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1266, allocations: 320 / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1266, allocations: 3.938 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1266, allocations: 4 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1268, allocations: 201.1 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.1269, allocations: 97.05 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1269, allocations: 0 / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.127, allocations: 4 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.127, allocations: 7.938 kB / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.127, allocations: 11.97 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1272, allocations: 110.3 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1272, allocations: 4 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1274, allocations: 12 kB / 432.3 MB, free: 14.38 MB / 366.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.0007495/0.1281, allocations: 0.7654 MB / 433 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1283, allocations: 59.84 kB / 433.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1283, allocations: 0 / 433.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.1284, allocations: 11.98 kB / 433.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1288, allocations: 46.22 kB / 433.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1305, allocations: 1.556 MB / 434.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1308, allocations: 0.6963 MB / 435.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.1308, allocations: 8.438 kB / 435.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.1309, allocations: 27.42 kB / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1309, allocations: 0 / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1555, allocations: 2.121 MB / 437.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.014, allocations: 8.703 kB / 437.6 MB, free: 9.051 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.826918214006582]