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.001457/0.001457, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.001581/0.001581, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.403/1.403, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002031/0.002031, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1044, allocations: 53.37 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003193/0.1076, allocations: 1.628 MB / 428 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1088, allocations: 0.6232 MB / 428.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1089, allocations: 7.938 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1092, allocations: 7.875 kB / 428.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.1092, allocations: 15.91 kB / 428.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1096, allocations: 75.75 kB / 428.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1098, allocations: 71.75 kB / 428.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.1099, allocations: 8 kB / 428.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.11, allocations: 43.78 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1101, allocations: 35.84 kB / 428.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1101, allocations: 8 kB / 428.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.219e-05/0.1102, allocations: 4 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1103, allocations: 19.92 kB / 428.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.1103, allocations: 35.8 kB / 428.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1105, allocations: 79.53 kB / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1105, allocations: 0 / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1105, allocations: 0 / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1105, allocations: 0 / 429 MB, free: 1.953 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.0005246/0.111, allocations: 391 kB / 429.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1111, allocations: 8.031 kB / 429.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.1111, allocations: 42.75 kB / 429.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1113, allocations: 16.88 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1115, allocations: 211.5 kB / 429.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1115, allocations: 12.31 kB / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1116, allocations: 3.938 kB / 429.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.1119, allocations: 157.8 kB / 429.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1119, allocations: 3.938 kB / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1119, allocations: 0 / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1119, allocations: 0 / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.112, allocations: 27.97 kB / 429.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1124, allocations: 286.5 kB / 430.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1125, allocations: 83.7 kB / 430.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.1126, allocations: 38.75 kB / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1126, allocations: 8 kB / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1127, allocations: 30.56 kB / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1127, allocations: 0 / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003193/0.113, allocations: 117.5 kB / 430.4 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.1131, allocations: 111.1 kB / 430.5 MB, free: 196 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1132, allocations: 150.4 kB / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1133, allocations: 25.7 kB / 430.7 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.1133, allocations: 100.1 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1133, allocations: 11.94 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.1134, allocations: 17.72 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1135, allocations: 322.8 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1136, allocations: 15.98 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.1137, allocations: 73.94 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1138, allocations: 77.92 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1138, allocations: 4 kB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001974/0.114, allocations: 101.7 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.114, allocations: 19.91 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.114, allocations: 0 / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.114, allocations: 4 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.1141, allocations: 15.98 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1141, allocations: 0 / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.1142, allocations: 11.88 kB / 431.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1142, allocations: 4 kB / 431.5 MB, free: 15.16 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.0001226/0.1143, allocations: 129.8 kB / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1144, allocations: 73.59 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.1145, allocations: 16.3 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1145, allocations: 0 / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1145, allocations: 0 / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1145, allocations: 7.938 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.1147, allocations: 177.8 kB / 431.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1147, allocations: 0 / 431.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.1148, allocations: 15.88 kB / 431.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1148, allocations: 4 kB / 431.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1148, allocations: 3.984 kB / 431.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1148, allocations: 0 / 431.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1148, allocations: 8.031 kB / 431.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.115, allocations: 189.1 kB / 432.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.1151, allocations: 97.36 kB / 432.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1151, allocations: 3.938 kB / 432.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.1152, allocations: 11.98 kB / 432.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1152, allocations: 7.938 kB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1152, allocations: 8 kB / 432.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.1153, allocations: 113.9 kB / 432.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1153, allocations: 0 / 432.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1156, allocations: 8 kB / 432.3 MB, free: 14.2 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.0006609/0.1162, allocations: 0.7609 MB / 433.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1164, allocations: 59.89 kB / 433.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1164, allocations: 0 / 433.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.1165, allocations: 8.5 kB / 433.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1169, allocations: 51.92 kB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1187, allocations: 1.545 MB / 434.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.119, allocations: 0.7002 MB / 435.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.1191, allocations: 12.41 kB / 435.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1191, allocations: 19.44 kB / 435.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1191, allocations: 96 / 435.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.1435, allocations: 2.124 MB / 437.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.708, allocations: 16.05 kB / 437.6 MB, free: 8.855 MB / 366.1 MB " [Timeout remaining time 652] (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/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_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: 10.38017735700123]