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.001532/0.001532, allocations: 115.3 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00176/0.00176, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 56.06 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003933/0.1239, allocations: 1.686 MB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1252, allocations: 0.596 MB / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1253, allocations: 4 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1257, allocations: 11.92 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1258, allocations: 11.92 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.1263, allocations: 63.81 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1265, allocations: 63.84 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1266, allocations: 23.97 kB / 359.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1269, allocations: 39.86 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.127, allocations: 35.83 kB / 359.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.127, allocations: 4 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.1271, allocations: 8 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.1272, allocations: 19.92 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1273, allocations: 35.73 kB / 359.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1275, allocations: 67.73 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1275, allocations: 3.984 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.1275, allocations: 0 / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1275, allocations: 4 kB / 359.8 MB, free: 11.42 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.0008121/0.1284, allocations: 397.8 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1284, allocations: 8.031 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.1285, allocations: 38.73 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.1287, allocations: 20.75 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.129, allocations: 204.6 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1291, allocations: 4.375 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1291, allocations: 11.94 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.1295, allocations: 149.8 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1295, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1296, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1296, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1297, allocations: 39.91 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.1302, allocations: 282.6 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1304, allocations: 79.72 kB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.1305, allocations: 50.75 kB / 361 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1305, allocations: 0 / 361 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1305, allocations: 38.48 kB / 361.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1305, allocations: 0 / 361.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003806/0.1309, allocations: 113.7 kB / 361.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1311, allocations: 110.8 kB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1313, allocations: 152.4 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1313, allocations: 29.7 kB / 361.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.1314, allocations: 84.14 kB / 361.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.1314, allocations: 11.91 kB / 361.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.1315, allocations: 29.55 kB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1317, allocations: 326.9 kB / 361.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.1318, allocations: 12 kB / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.1319, allocations: 65.97 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.132, allocations: 89.81 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.132, allocations: 0 / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002067/0.1322, allocations: 109.4 kB / 362.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1323, allocations: 8 kB / 362.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1323, allocations: 0 / 362.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1323, allocations: 7.984 kB / 362.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1324, allocations: 12 kB / 362.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1324, allocations: 7.922 kB / 362.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.1325, allocations: 11.88 kB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1325, allocations: 4.188 kB / 362.2 MB, free: 8.625 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.0002401/0.1328, allocations: 134 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.1329, allocations: 77.45 kB / 362.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.133, allocations: 12.31 kB / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.133, allocations: 0 / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.133, allocations: 0 / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.133, allocations: 7.938 kB / 362.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1332, allocations: 177.6 kB / 362.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1332, allocations: 0 / 362.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.1333, allocations: 11.98 kB / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1333, allocations: 8.031 kB / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1333, allocations: 0 / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1334, allocations: 0 / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1334, allocations: 4 kB / 362.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1336, allocations: 193.3 kB / 362.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.1337, allocations: 108.9 kB / 362.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1337, allocations: 4 kB / 362.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1338, allocations: 4 kB / 362.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1339, allocations: 3.938 kB / 362.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1339, allocations: 4 kB / 362.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.134, allocations: 118.6 kB / 363.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.134, allocations: 0 / 363.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1342, allocations: 8 kB / 363.1 MB, free: 7.66 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.0006788/0.1349, allocations: 0.7609 MB / 363.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1352, allocations: 68.2 kB / 363.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1352, allocations: 4.125 kB / 363.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.1352, allocations: 7.984 kB / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1357, allocations: 43.89 kB / 364 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1378, allocations: 1.577 MB / 365.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1382, allocations: 0.7041 MB / 366.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.1383, allocations: 4.438 kB / 366.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.1384, allocations: 27.42 kB / 366.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1384, allocations: 0 / 366.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.1534, allocations: 1.947 MB / 368.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.1537, allocations: 220.1 kB / 368.4 MB, free: 2.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.333, allocations: 4 kB / 368.4 MB, free: 2.246 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