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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4026, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.005012/0.4077, allocations: 1.616 MB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.4095, allocations: 0.6037 MB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.4097, allocations: 7.938 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.4101, allocations: 11.86 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.4103, allocations: 15.92 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.4109, allocations: 75.73 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4111, allocations: 63.84 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4113, allocations: 23.97 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.4115, allocations: 35.8 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.4116, allocations: 31.84 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.4117, allocations: 4 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.4117, allocations: 7.984 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.4118, allocations: 23.92 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.4119, allocations: 31.75 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.4121, allocations: 71.72 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4121, allocations: 0 / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4122, allocations: 0 / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4122, allocations: 8 kB / 411.4 MB, free: 14.92 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.0006028/0.4128, allocations: 392.7 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4128, allocations: 8.031 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.4129, allocations: 38.69 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.4131, allocations: 24.83 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.4135, allocations: 208 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.4135, allocations: 8.375 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.4135, allocations: 11.94 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.414, allocations: 141.9 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.414, allocations: 3.938 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.414, allocations: 3.984 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.414, allocations: 0 / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.4142, allocations: 39.97 kB / 412.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.4148, allocations: 290.4 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.415, allocations: 83.84 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4151, allocations: 46.61 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4152, allocations: 0 / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4152, allocations: 34.56 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4152, allocations: 0 / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000481/0.4157, allocations: 113.4 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.4158, allocations: 110.8 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.416, allocations: 146.4 kB / 413.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4161, allocations: 29.7 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.4161, allocations: 88.14 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.4162, allocations: 15.83 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.4162, allocations: 25.97 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002952/0.4165, allocations: 322.8 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.4166, allocations: 15.98 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.4167, allocations: 61.94 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4169, allocations: 81.94 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4169, allocations: 0 / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002687/0.4172, allocations: 105.9 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4172, allocations: 8 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4172, allocations: 3.938 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.4173, allocations: 7.938 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4174, allocations: 19.98 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4174, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.4175, allocations: 12.16 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4175, allocations: 8 kB / 413.8 MB, free: 12.12 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.0001384/0.4177, allocations: 129.7 kB / 414 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.4179, allocations: 73.5 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.4179, allocations: 12.31 kB / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.4179, allocations: 0 / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4179, allocations: 0 / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.418, allocations: 7.938 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.4182, allocations: 177.6 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4182, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.4183, allocations: 19.95 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4183, allocations: 4 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4184, allocations: 4 kB / 414.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4184, allocations: 3.984 kB / 414.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4184, allocations: 4 kB / 414.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.4187, allocations: 197.1 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.4188, allocations: 97 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4188, allocations: 8 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.4189, allocations: 0 / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4189, allocations: 7.875 kB / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4189, allocations: 7.984 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.419, allocations: 110.5 kB / 414.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.4191, allocations: 0 / 414.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.4193, allocations: 15.94 kB / 414.7 MB, free: 11.15 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.0008745/0.4202, allocations: 0.7569 MB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4204, allocations: 63.97 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4205, allocations: 0 / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.4205, allocations: 7.984 kB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.4209, allocations: 62.31 kB / 415.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.423, allocations: 1.544 MB / 417.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.4237, allocations: 0.704 MB / 417.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.4238, allocations: 12.42 kB / 417.9 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.4239, allocations: 27.42 kB / 417.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4239, allocations: 0 / 417.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4447, allocations: 2.105 MB / 420 MB, free: 5.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.691, allocations: 10.22 kB / 420 MB, free: 5.824 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches