Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9997/0.9997, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.988e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002411/0.002441, allocations: 1.669 MB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.003306, allocations: 0.5958 MB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.003409, allocations: 7.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.003695, allocations: 11.86 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.003759, allocations: 19.86 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.00409, allocations: 79.66 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.004223, allocations: 67.77 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.004337, allocations: 15.92 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004484, allocations: 35.95 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004586, allocations: 23.92 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.00461, allocations: 4 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.004656, allocations: 15.86 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.004727, allocations: 23.92 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.004761, allocations: 19.92 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004909, allocations: 63.73 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004911, allocations: 0 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004912, allocations: 0 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.004918, allocations: 0 / 275.6 MB, free: 14.83 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.0004193/0.005337, allocations: 408.2 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.005374, allocations: 12.03 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.005502, allocations: 28.83 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.005683, allocations: 148.9 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.005703, allocations: 4.375 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.005717, allocations: 12.38 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.005989, allocations: 153.2 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006, allocations: 7.875 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.00601, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006018, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.006056, allocations: 11.98 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.006354, allocations: 287.1 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.006443, allocations: 97.3 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.00649, allocations: 39.05 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.00652, allocations: 4 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.006546, allocations: 37.39 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.006547, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.006736, allocations: 81.7 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.006799, allocations: 118.8 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.006908, allocations: 200.9 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006919, allocations: 25.95 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.006973, allocations: 150.8 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.006992, allocations: 7.938 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.007023, allocations: 23.38 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.00716, allocations: 0.4923 MB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.007177, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.007204, allocations: 31.06 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.007253, allocations: 46.92 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007255, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.939e-05/0.007335, allocations: 69.58 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.007349, allocations: 4 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007353, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.007369, allocations: 4 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.007512, allocations: 7.938 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.00752, allocations: 3.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.007544, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.00755, allocations: 3.984 kB / 278.1 MB, free: 12.05 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.482e-05/0.007645, allocations: 168.5 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.007727, allocations: 65.67 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.007761, allocations: 12.47 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007764, allocations: 4 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.007768, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007772, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.007895, allocations: 140.5 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.007896, allocations: 0 / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.007943, allocations: 16 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.007946, allocations: 3.984 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007954, allocations: 3.984 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.007957, allocations: 8.031 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007958, allocations: 0 / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.008108, allocations: 235.1 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.008145, allocations: 19.94 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.008168, allocations: 192 / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.008206, allocations: 8 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.00825, allocations: 3.984 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.008256, allocations: 4 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.008327, allocations: 143.2 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008327, allocations: 0 / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.008486, allocations: 12 kB / 278.9 MB, free: 11.14 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 0.0001123/0.008598, allocations: 111.2 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.008701, allocations: 27.62 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.008704, allocations: 4 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.00872, allocations: 11.67 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.009009, allocations: 40.48 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.009592, allocations: 218.5 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.009638, allocations: 71.28 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.009661, allocations: 3.984 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.009691, allocations: 12.5 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009691, allocations: 0 / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002629/0.01232, allocations: 0.9013 MB / 280.3 MB, free: 9.691 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.111637234222144]