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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8807/0.8807, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.788e-06/1.132e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001725/0.001737, allocations: 1.638 MB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006782/0.002415, allocations: 0.5725 MB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.002482, allocations: 3.938 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.002666, allocations: 19.84 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.002716, allocations: 11.88 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.002961, allocations: 83.59 kB / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.003058, allocations: 59.78 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.003135, allocations: 4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003251, allocations: 51.83 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.003325, allocations: 23.95 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.00334, allocations: 11.94 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.003372, allocations: 8 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.003425, allocations: 19.92 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.003452, allocations: 23.97 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.003567, allocations: 71.66 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003568, allocations: 0 / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003569, allocations: 0 / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003572, allocations: 0 / 327.1 MB, free: 13.25 MB / 298.7 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.0003627/0.003935, allocations: 313.9 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.003969, allocations: 11.98 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.003997, allocations: 38.75 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.004085, allocations: 24.83 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.004251, allocations: 154 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004267, allocations: 4.375 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.004277, allocations: 8.375 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.004502, allocations: 150.1 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004509, allocations: 7.938 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004516, allocations: 0 / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004521, allocations: 4 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.004586, allocations: 31.97 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.00481, allocations: 245.6 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.004893, allocations: 79.72 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.00494, allocations: 38.75 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.004958, allocations: 7.984 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004978, allocations: 42.55 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.004978, allocations: 0 / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002021/0.00518, allocations: 113.7 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.005234, allocations: 114.8 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.00532, allocations: 149.4 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.00533, allocations: 25.7 kB / 328.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.005364, allocations: 92.08 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.005377, allocations: 7.953 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.005405, allocations: 21.95 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.005476, allocations: 322.8 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.005502, allocations: 15.98 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.005533, allocations: 30.56 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.005588, allocations: 50.5 kB / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00559, allocations: 0 / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.101e-05/0.005671, allocations: 81.56 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005681, allocations: 4 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005685, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005697, allocations: 4 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.005747, allocations: 4 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.005752, allocations: 3.984 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.005772, allocations: 4 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.005778, allocations: 4 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.195e-05/0.00585, allocations: 125.7 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.005912, allocations: 73.72 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.005934, allocations: 12.47 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.005937, allocations: 4 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.005941, allocations: 0 / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005944, allocations: 0 / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.006061, allocations: 152.6 kB / 329.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006061, allocations: 0 / 329.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.006094, allocations: 19.92 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006095, allocations: 0 / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.006103, allocations: 7.938 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006103, allocations: 0 / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006104, allocations: 4.031 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.006223, allocations: 201.3 kB / 329.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.006252, allocations: 19.94 kB / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.006266, allocations: 15.92 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.006303, allocations: 4 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.006325, allocations: 4 kB / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006328, allocations: 0 / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.006377, allocations: 115.2 kB / 330 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006377, allocations: 3.938 kB / 330 MB, free: 9.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.006527, allocations: 12 kB / 330 MB, free: 9.973 MB / 298.7 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.0003385/0.006866, allocations: 0.7531 MB / 330.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.006964, allocations: 43.97 kB / 330.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006965, allocations: 0 / 330.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.006987, allocations: 7.938 kB / 330.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.007234, allocations: 36 kB / 330.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.008219, allocations: 1.47 MB / 332.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.737e-05/0.008277, allocations: 85.11 kB / 332.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.008301, allocations: 4 kB / 332.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.008344, allocations: 28.48 kB / 332.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008345, allocations: 4 kB / 332.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.0227, allocations: 2.768 MB / 335.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.873, allocations: 4.062 kB / 335.2 MB, free: 4.727 MB / 298.7 MB " [Timeout remaining time 653] (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 1.7939e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [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: 8.668132822960615]