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.001102/0.001102, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001087/0.001087, allocations: 164.3 kB / 24.82 MB, free: 9.238 MB / 18.57 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 0.9805/0.9805, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.214e-06/2.214e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.263e-05, allocations: 5.266 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002193/0.002215, allocations: 1.654 MB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.003202, allocations: 0.5958 MB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.00331, allocations: 7.938 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.003607, allocations: 23.78 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.003677, allocations: 7.875 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.004078, allocations: 83.66 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.004207, allocations: 63.78 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.004321, allocations: 11.98 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004468, allocations: 43.89 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004575, allocations: 23.91 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.004596, allocations: 4 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.004649, allocations: 11.98 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.00472, allocations: 15.94 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.004749, allocations: 19.92 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004896, allocations: 63.67 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.004899, allocations: 4 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004899, allocations: 0 / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.004904, allocations: 0 / 276 MB, free: 14.55 MB / 266.7 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.0004411/0.005345, allocations: 416.2 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005384, allocations: 11.98 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.005509, allocations: 28.83 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005664, allocations: 153 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005682, allocations: 384 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005693, allocations: 8.312 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.005915, allocations: 153.2 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.005926, allocations: 7.938 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005933, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005939, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.00597, allocations: 15.92 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.006216, allocations: 255.8 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.303e-05/0.006299, allocations: 93.11 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.006338, allocations: 47.17 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.00636, allocations: 4 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.006385, allocations: 37.33 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.006386, allocations: 0 / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001721/0.006558, allocations: 77.56 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.006629, allocations: 118.7 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.006735, allocations: 197.2 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006748, allocations: 29.7 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.006806, allocations: 139.1 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.006826, allocations: 11.89 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.006861, allocations: 27.34 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007006, allocations: 496.1 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.007018, allocations: 8 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.007045, allocations: 35.03 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.007087, allocations: 35 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007089, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.006e-05/0.007159, allocations: 65.89 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.007173, allocations: 11.12 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007177, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007188, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.007246, allocations: 12 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007251, allocations: 3.984 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.00727, allocations: 4 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.007275, allocations: 4 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 9.797e-05/0.007373, allocations: 160.5 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.00744, allocations: 65.67 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.007471, allocations: 12.47 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007473, allocations: 4 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.007475, allocations: 0 / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.00748, allocations: 0 / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.007587, allocations: 113.2 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007588, allocations: 0 / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.007619, allocations: 15.92 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.007623, allocations: 7.938 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.007627, allocations: 0 / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007628, allocations: 3.938 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.00763, allocations: 8.031 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007733, allocations: 207.2 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.007763, allocations: 15.94 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.007781, allocations: 15.88 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.007814, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.007837, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.007841, allocations: 7.984 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.007891, allocations: 143.2 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007891, allocations: 4 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.008038, allocations: 8 kB / 279.2 MB, free: 10.96 MB / 266.7 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 7.032e-05/0.008108, allocations: 95.28 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.00818, allocations: 39.59 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008181, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.008195, allocations: 15.67 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.008441, allocations: 45.59 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.008911, allocations: 215.7 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.008955, allocations: 67.34 kB / 279.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.714e-05/0.008982, allocations: 7.984 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.009045, allocations: 78.2 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009045, allocations: 0 / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of Templates: time 0.002719/0.01176, allocations: 0.9663 MB / 280.7 MB, free: 9.383 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.815375695936382]