Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 117.7 kB / 17.7 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.11 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1541, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003565/0.1577, allocations: 1.59 MB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1589, allocations: 0.5453 MB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1591, allocations: 0 / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1594, allocations: 27.78 kB / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.1595, allocations: 7.938 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1598, allocations: 61.94 kB / 353.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1599, allocations: 63.83 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.16, allocations: 15.98 kB / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1602, allocations: 43.8 kB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1603, allocations: 31.83 kB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1603, allocations: 4 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1604, allocations: 4 kB / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.1605, allocations: 23.92 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1605, allocations: 27.81 kB / 354 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1607, allocations: 71.72 kB / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1607, allocations: 0 / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1607, allocations: 3.938 kB / 354 MB, free: 1.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1607, allocations: 0 / 354 MB, free: 1.152 MB / 286.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.0007674/0.1615, allocations: 387 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1615, allocations: 11.89 kB / 354.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.1616, allocations: 12.78 kB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.162, allocations: 212.6 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1621, allocations: 4.375 kB / 354.6 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1621, allocations: 8.125 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.1626, allocations: 149.8 kB / 354.8 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1626, allocations: 7.938 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1626, allocations: 0 / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1626, allocations: 4 kB / 354.8 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1627, allocations: 23.98 kB / 354.8 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1632, allocations: 286.5 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1634, allocations: 87.7 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.1635, allocations: 42.75 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1636, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1636, allocations: 38.56 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1636, allocations: 4 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000361/0.164, allocations: 113.3 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.1641, allocations: 102.8 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1643, allocations: 148.8 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1643, allocations: 25.7 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1644, allocations: 96.39 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1644, allocations: 11.89 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1645, allocations: 17.72 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1646, allocations: 326.8 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.1647, allocations: 15.98 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1648, allocations: 69.94 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1649, allocations: 73.94 kB / 356.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.165, allocations: 4 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002201/0.1652, allocations: 105.4 kB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.1652, allocations: 8.188 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1653, allocations: 256 / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.1653, allocations: 11.92 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1654, allocations: 24.14 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1654, allocations: 4 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.1655, allocations: 7.938 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1655, allocations: 11.92 kB / 356.4 MB, free: 14.43 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.0001527/0.1657, allocations: 137.6 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1658, allocations: 65.59 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.1659, allocations: 12.31 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1659, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1659, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1659, allocations: 11.95 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1661, allocations: 177.6 kB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1661, allocations: 4 kB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.1662, allocations: 15.92 kB / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1662, allocations: 0 / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1663, allocations: 4 kB / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1663, allocations: 0 / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1663, allocations: 0 / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1666, allocations: 205.1 kB / 357.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.1667, allocations: 97 kB / 357.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1667, allocations: 0 / 357.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1668, allocations: 4 kB / 357.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1669, allocations: 7.922 kB / 357.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1669, allocations: 11.94 kB / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.167, allocations: 105 kB / 357.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.167, allocations: 4 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1673, allocations: 12 kB / 357.3 MB, free: 13.46 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.0001621/0.1674, allocations: 103.2 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1677, allocations: 51.91 kB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1677, allocations: 0 / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.1677, allocations: 12.38 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1681, allocations: 44.31 kB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.1688, allocations: 212.6 kB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1692, allocations: 0.7046 MB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.1692, allocations: 12.77 kB / 358.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.1693, allocations: 19.36 kB / 358.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1693, allocations: 0 / 358.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Templates: time 0.004065/0.1734, allocations: 0.8148 MB / 359.3 MB, free: 11.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches