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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 81.5 kB / 20.49 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 165 kB / 23.75 MB, free: 4.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 177.1 MB / 204 MB, free: 9.234 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 66.08 kB / 324.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1519, allocations: 53.38 MB / 378.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003976/0.1559, allocations: 1.616 MB / 379.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1573, allocations: 0.5688 MB / 380.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1574, allocations: 3.938 kB / 380.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1577, allocations: 19.86 kB / 380.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.1578, allocations: 15.86 kB / 380.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.1582, allocations: 71.8 kB / 380.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1584, allocations: 75.7 kB / 380.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1586, allocations: 15.98 kB / 380.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1588, allocations: 47.84 kB / 380.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1589, allocations: 31.83 kB / 380.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1589, allocations: 4 kB / 380.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.159, allocations: 8 kB / 380.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.1591, allocations: 19.92 kB / 380.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1591, allocations: 23.81 kB / 380.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1594, allocations: 87.52 kB / 380.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1594, allocations: 0 / 380.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1594, allocations: 3.938 kB / 380.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1594, allocations: 0 / 380.8 MB, free: 13.14 MB / 350.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.0006815/0.1601, allocations: 317.9 kB / 381.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1601, allocations: 11.98 kB / 381.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.1603, allocations: 24.83 kB / 381.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1607, allocations: 146.9 kB / 381.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1607, allocations: 384 / 381.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1607, allocations: 12.12 kB / 381.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.1611, allocations: 149.8 kB / 381.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1612, allocations: 0 / 381.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1612, allocations: 8 kB / 381.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1612, allocations: 0 / 381.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1613, allocations: 27.92 kB / 381.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.1617, allocations: 226.2 kB / 381.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1619, allocations: 83.72 kB / 381.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.162, allocations: 46.75 kB / 381.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1621, allocations: 0 / 381.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1621, allocations: 42.5 kB / 381.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1621, allocations: 0 / 381.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003856/0.1625, allocations: 109.5 kB / 381.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1626, allocations: 114.8 kB / 382.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1628, allocations: 145.4 kB / 382.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1628, allocations: 25.7 kB / 382.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1629, allocations: 96.38 kB / 382.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1629, allocations: 19.81 kB / 382.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.163, allocations: 25.7 kB / 382.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1632, allocations: 322.8 kB / 382.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.1632, allocations: 15.98 kB / 382.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1633, allocations: 69.92 kB / 382.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1635, allocations: 89.8 kB / 382.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1635, allocations: 0 / 382.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002105/0.1637, allocations: 105.5 kB / 382.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1637, allocations: 6.969 kB / 383 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1637, allocations: 4 kB / 383 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.1638, allocations: 8.203 kB / 383 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1639, allocations: 12 kB / 383 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.1639, allocations: 7.938 kB / 383 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.164, allocations: 7.984 kB / 383 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.164, allocations: 4 kB / 383 MB, free: 10.63 MB / 350.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.0001717/0.1641, allocations: 125.8 kB / 383.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1643, allocations: 69.53 kB / 383.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.1643, allocations: 16.45 kB / 383.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1643, allocations: 4 kB / 383.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1643, allocations: 0 / 383.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.1644, allocations: 4.031 kB / 383.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1645, allocations: 125.2 kB / 383.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1645, allocations: 0 / 383.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.1646, allocations: 12 kB / 383.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1646, allocations: 0 / 383.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1646, allocations: 4 kB / 383.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1646, allocations: 7.984 kB / 383.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1646, allocations: 0 / 383.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1649, allocations: 197.4 kB / 383.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.165, allocations: 19.88 kB / 383.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.165, allocations: 12 kB / 383.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.1651, allocations: 4 kB / 383.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1651, allocations: 3.984 kB / 383.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1651, allocations: 4 kB / 383.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1652, allocations: 115.2 kB / 383.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 383.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1655, allocations: 12 kB / 383.7 MB, free: 9.836 MB / 350.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.0001806/0.1656, allocations: 95.25 kB / 383.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1659, allocations: 63.84 kB / 383.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1659, allocations: 0 / 383.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.1659, allocations: 4 kB / 383.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1663, allocations: 59.92 kB / 383.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.1669, allocations: 209 kB / 384.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1671, allocations: 89.7 kB / 384.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1671, allocations: 12.47 kB / 384.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1672, allocations: 12.5 kB / 384.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1672, allocations: 0 / 384.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Templates: time 0.004451/0.1716, allocations: 0.9235 MB / 385.2 MB, free: 8.344 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.185251286253333]