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.001288/0.001288, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001461/0.001461, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001513/0.001513, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 53.35 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002981/0.2605, allocations: 1.639 MB / 432.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2617, allocations: 0.6348 MB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.2618, allocations: 0 / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.262, allocations: 19.81 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.2621, allocations: 11.92 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.2624, allocations: 75.73 kB / 433.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.2626, allocations: 63.83 kB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.2627, allocations: 16 kB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2628, allocations: 43.83 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.2629, allocations: 31.8 kB / 433.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2629, allocations: 4 kB / 433.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.263, allocations: 8 kB / 433.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.2631, allocations: 27.89 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.2631, allocations: 35.75 kB / 433.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2633, allocations: 72.08 kB / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2633, allocations: 0 / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2633, allocations: 0 / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2633, allocations: 0 / 433.8 MB, free: 4.156 MB / 334.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.0004867/0.2638, allocations: 321.9 kB / 434.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2638, allocations: 8.031 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.2638, allocations: 38.69 kB / 434.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.264, allocations: 16.88 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2642, allocations: 157.4 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2643, allocations: 4.375 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2643, allocations: 11.94 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.2646, allocations: 141.9 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2646, allocations: 4 kB / 434.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2646, allocations: 3.938 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2646, allocations: 7.969 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2647, allocations: 35.92 kB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.2651, allocations: 253.6 kB / 434.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.2652, allocations: 83.84 kB / 434.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.2653, allocations: 38.62 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2653, allocations: 4 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2654, allocations: 38.55 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2654, allocations: 0 / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000324/0.2657, allocations: 109.6 kB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.2658, allocations: 110.8 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2659, allocations: 154.3 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.266, allocations: 25.7 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.266, allocations: 96.09 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.266, allocations: 7.953 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.2661, allocations: 25.86 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2662, allocations: 326.8 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.2663, allocations: 12 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.2664, allocations: 65.98 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2665, allocations: 81.88 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2665, allocations: 4 kB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001906/0.2667, allocations: 105.5 kB / 436.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2667, allocations: 8 kB / 436.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2667, allocations: 256 / 436.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2667, allocations: 4 kB / 436.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.2668, allocations: 19.94 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2668, allocations: 3.984 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.2669, allocations: 7.938 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2669, allocations: 12.22 kB / 436.1 MB, free: 1.559 MB / 334.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.0001137/0.267, allocations: 121.8 kB / 436.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.2671, allocations: 77.52 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.2672, allocations: 16.41 kB / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2672, allocations: 0 / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2672, allocations: 0 / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2672, allocations: 7.938 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2674, allocations: 144.7 kB / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2674, allocations: 0 / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.2674, allocations: 19.95 kB / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2674, allocations: 4.188 kB / 436.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2675, allocations: 4 kB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2675, allocations: 3.938 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2675, allocations: 4 kB / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2677, allocations: 193.1 kB / 436.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.2677, allocations: 19.94 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.2678, allocations: 7.984 kB / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.2678, allocations: 4 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.2679, allocations: 7.938 kB / 436.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2679, allocations: 7.875 kB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.347e-05/0.2679, allocations: 112.9 kB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2679, allocations: 0 / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.2682, allocations: 12 kB / 436.9 MB, free: 0.7227 MB / 334.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.0006238/0.2688, allocations: 0.7572 MB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.269, allocations: 64.11 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.269, allocations: 0 / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.269, allocations: 8 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.2694, allocations: 52.09 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2712, allocations: 1.558 MB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2715, allocations: 0.7039 MB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.2716, allocations: 8.422 kB / 440 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.2717, allocations: 35.36 kB / 440 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2717, allocations: 0 / 440 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3, allocations: 2.246 MB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.15, allocations: 11.88 kB / 442.3 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.718067674002668]