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.0007281/0.0007281, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008133/0.0008134, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002231, allocations: 8.281 kB / 307.8 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08912, allocations: 51.52 MB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001684/0.09084, allocations: 1.332 MB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.09184, allocations: 0.5922 MB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.09194, allocations: 4 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.09213, allocations: 15.88 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.0922, allocations: 7.922 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.09251, allocations: 59.88 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.09264, allocations: 63.84 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.09274, allocations: 23.95 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.09287, allocations: 39.78 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.09298, allocations: 27.86 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.093, allocations: 0 / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.09304, allocations: 4 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.09311, allocations: 23.91 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.09317, allocations: 61.44 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.09329, allocations: 63.72 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.0933, allocations: 4 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09331, allocations: 0 / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.09332, allocations: 0 / 361.7 MB, free: 10.59 MB / 302.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.0004294/0.09375, allocations: 375.5 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.0938, allocations: 12.03 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.09384, allocations: 34.75 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.09398, allocations: 24.73 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.09417, allocations: 212.5 kB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.09419, allocations: 384 / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.09421, allocations: 7.938 kB / 362.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.09452, allocations: 157.8 kB / 362.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.09454, allocations: 3.938 kB / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.09456, allocations: 0 / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.09457, allocations: 0 / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.09468, allocations: 39.98 kB / 362.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.09498, allocations: 282.5 kB / 362.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.09511, allocations: 87.83 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.0952, allocations: 42.62 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.09523, allocations: 4 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.09526, allocations: 30.56 kB / 363 MB, free: 9.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.09527, allocations: 7.938 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003243/0.0956, allocations: 113.5 kB / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.09568, allocations: 110.8 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.09581, allocations: 152 kB / 363.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.09584, allocations: 29.95 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.0959, allocations: 96.03 kB / 363.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.09592, allocations: 11.91 kB / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.09595, allocations: 9.719 kB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.09605, allocations: 322.8 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.09612, allocations: 19.98 kB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.0962, allocations: 66 kB / 363.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.09634, allocations: 85.88 kB / 364 MB, free: 7.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09635, allocations: 3.938 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001872/0.09654, allocations: 109.7 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.09656, allocations: 8 kB / 364.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.09657, allocations: 0 / 364.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.09659, allocations: 4 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.09669, allocations: 19.92 kB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.0967, allocations: 0 / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.09676, allocations: 15.78 kB / 364.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.09678, allocations: 4 kB / 364.1 MB, free: 7.801 MB / 302.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.000114/0.0969, allocations: 133.8 kB / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.09703, allocations: 73.88 kB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.09707, allocations: 12.31 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.09708, allocations: 4 kB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.09709, allocations: 4 kB / 364.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.0971, allocations: 11.91 kB / 364.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.09727, allocations: 173.7 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.09728, allocations: 0 / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.09735, allocations: 19.92 kB / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.09736, allocations: 0 / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.09737, allocations: 8.031 kB / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.09738, allocations: 0 / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09739, allocations: 0 / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.09761, allocations: 201.1 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.09768, allocations: 97 kB / 364.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.0977, allocations: 4.188 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.09778, allocations: 4 kB / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.09783, allocations: 11.86 kB / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.09784, allocations: 7.938 kB / 364.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.09792, allocations: 118.6 kB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09792, allocations: 0 / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.09817, allocations: 8 kB / 365 MB, free: 6.82 MB / 302.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.0005665/0.09874, allocations: 0.7648 MB / 365.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.09893, allocations: 67.91 kB / 365.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.09894, allocations: 0 / 365.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.09898, allocations: 11.98 kB / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.09935, allocations: 43.89 kB / 365.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1009, allocations: 1.59 MB / 367.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1012, allocations: 0.7043 MB / 368.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.228e-05/0.1012, allocations: 12.42 kB / 368.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.1013, allocations: 19.44 kB / 368.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1013, allocations: 3.938 kB / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.1126, allocations: 1.811 MB / 370 MB, free: 1.781 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.1128, allocations: 227.4 kB / 370.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.724, allocations: 0 / 370.2 MB, free: 1.52 MB / 302.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