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.001411/0.001411, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4136, allocations: 50.54 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003587/0.4172, allocations: 1.612 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4185, allocations: 0.6076 MB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.4186, allocations: 3.938 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.4188, allocations: 15.86 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.4189, allocations: 11.88 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.4193, allocations: 75.8 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.4194, allocations: 63.83 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.4196, allocations: 19.98 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4197, allocations: 43.77 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4198, allocations: 31.86 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.4199, allocations: 4 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.4199, allocations: 4 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.42, allocations: 27.91 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.42, allocations: 35.73 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4203, allocations: 74.67 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4203, allocations: 0 / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4203, allocations: 0 / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4203, allocations: 0 / 411.5 MB, free: 14.84 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.0005712/0.4209, allocations: 395 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4209, allocations: 8.031 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.421, allocations: 34.75 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.4212, allocations: 20.83 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.4215, allocations: 219.8 kB / 412.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4215, allocations: 4.375 kB / 412.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4215, allocations: 7.938 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.4219, allocations: 153.7 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4219, allocations: 8 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4219, allocations: 0 / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.422, allocations: 0 / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.4221, allocations: 35.91 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.4225, allocations: 274.6 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4227, allocations: 87.83 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4228, allocations: 46.62 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4229, allocations: 0 / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4229, allocations: 42.56 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4229, allocations: 0 / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003524/0.4233, allocations: 109.5 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4234, allocations: 110.8 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4236, allocations: 150.4 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4236, allocations: 25.95 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.4237, allocations: 100.1 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.4237, allocations: 7.891 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4238, allocations: 25.72 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.424, allocations: 322.8 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.424, allocations: 11.98 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.4241, allocations: 69.94 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4243, allocations: 81.92 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4243, allocations: 0 / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001956/0.4245, allocations: 105.4 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4245, allocations: 4 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4245, allocations: 4 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4246, allocations: 0 / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.4247, allocations: 20.2 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.4247, allocations: 4 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.4247, allocations: 8.125 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.4248, allocations: 8 kB / 413.9 MB, free: 12.05 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.00014/0.4249, allocations: 137.6 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.425, allocations: 73.59 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.4251, allocations: 16.23 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4251, allocations: 4 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4251, allocations: 32 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4251, allocations: 11.92 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.4254, allocations: 173.6 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4254, allocations: 4 kB / 414.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.4254, allocations: 8.312 kB / 414.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4254, allocations: 0 / 414.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4255, allocations: 15.98 kB / 414.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4255, allocations: 0 / 414.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4255, allocations: 0 / 414.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4257, allocations: 201.1 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.4258, allocations: 97.05 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.4259, allocations: 0 / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.4259, allocations: 11.98 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.426, allocations: 3.938 kB / 414.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.426, allocations: 4 kB / 414.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4261, allocations: 118.6 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.4261, allocations: 0 / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4264, allocations: 15.94 kB / 414.8 MB, free: 11.06 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.000702/0.4271, allocations: 0.757 MB / 415.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.4273, allocations: 55.91 kB / 415.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4273, allocations: 0 / 415.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.4273, allocations: 8 kB / 415.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.4278, allocations: 50.09 kB / 415.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4296, allocations: 1.556 MB / 417.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.43, allocations: 0.7041 MB / 417.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.4301, allocations: 8.422 kB / 417.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.4301, allocations: 23.44 kB / 417.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4302, allocations: 0 / 417.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.4579, allocations: 2.085 MB / 420 MB, free: 5.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.702, allocations: 13.02 kB / 420 MB, free: 5.762 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.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) Reference file matches