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.0009594/0.0009594, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008881/0.0008881, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8818/0.8818, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.022e-06/1.022e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.154e-05, allocations: 6.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001826/0.001837, allocations: 1.628 MB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.002564, allocations: 0.5763 MB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.002639, allocations: 3.938 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.002832, allocations: 11.88 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.002885, allocations: 19.91 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.003161, allocations: 87.48 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003266, allocations: 63.77 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.003348, allocations: 8 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003461, allocations: 43.89 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.003546, allocations: 23.91 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003565, allocations: 4 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.725e-05/0.003602, allocations: 11.98 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.003659, allocations: 19.92 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.003684, allocations: 15.94 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003809, allocations: 83.69 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.003812, allocations: 4 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003813, allocations: 3.938 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003816, allocations: 3.938 kB / 327.2 MB, free: 13.3 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.0003408/0.004157, allocations: 313.2 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004191, allocations: 8.031 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.004221, allocations: 38.75 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.004315, allocations: 20.83 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.004489, allocations: 146.2 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.004507, allocations: 12.38 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004515, allocations: 384 / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.004752, allocations: 166 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.00476, allocations: 0 / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.004767, allocations: 0 / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004772, allocations: 0 / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.004841, allocations: 35.91 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.005075, allocations: 249.7 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.005161, allocations: 79.84 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.005209, allocations: 34.62 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.005228, allocations: 4 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005249, allocations: 38.5 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.005249, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002039/0.005453, allocations: 109.5 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.005508, allocations: 119 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.005596, allocations: 149.4 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.005606, allocations: 25.7 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.005642, allocations: 92.12 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.005655, allocations: 7.953 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.005683, allocations: 17.72 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.005758, allocations: 330.7 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.005785, allocations: 15.98 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.005818, allocations: 30.56 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.005873, allocations: 42.56 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005874, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.19e-05/0.005956, allocations: 77.56 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005967, allocations: 8 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00597, allocations: 3.938 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005981, allocations: 0 / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.006033, allocations: 12.09 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.006038, allocations: 7.938 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.006059, allocations: 7.984 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.006064, allocations: 384 / 329.3 MB, free: 10.88 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.389e-05/0.006137, allocations: 125.8 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.006202, allocations: 77.58 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.006231, allocations: 16.45 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006233, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.006238, allocations: 4 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006241, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.006352, allocations: 148.6 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006353, allocations: 4 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.006386, allocations: 15.98 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.006388, allocations: 3.938 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.006394, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006396, allocations: 4 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006397, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.006517, allocations: 201 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.006546, allocations: 15.94 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.00656, allocations: 4 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.006597, allocations: 11.98 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.006619, allocations: 0 / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006623, allocations: 4 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.035e-05/0.006674, allocations: 119.2 kB / 330.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006674, allocations: 0 / 330.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.006831, allocations: 8 kB / 330.1 MB, free: 10.05 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.0003403/0.007172, allocations: 0.7531 MB / 330.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.007273, allocations: 47.98 kB / 330.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007274, allocations: 0 / 330.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.007293, allocations: 11.98 kB / 330.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.007549, allocations: 35.95 kB / 330.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.008499, allocations: 1.464 MB / 332.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.008556, allocations: 93.11 kB / 332.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.00858, allocations: 4 kB / 332.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.00862, allocations: 28.42 kB / 332.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008621, allocations: 0 / 332.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02306, allocations: 2.773 MB / 335.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.863, allocations: 14.02 kB / 335.3 MB, free: 4.809 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.620821053162217]