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.00141/0.00141, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001273/0.001273, allocations: 165 kB / 24.56 MB, free: 16 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.9608/0.9608, allocations: 177.1 MB / 205 MB, free: 5.262 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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.625e-05, allocations: 6.312 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002596/0.002622, allocations: 1.661 MB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.00354, allocations: 0.6036 MB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.00363, allocations: 3.938 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.00385, allocations: 19.86 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.003912, allocations: 11.88 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.004247, allocations: 79.66 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.004369, allocations: 63.77 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.004465, allocations: 15.98 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.004621, allocations: 47.83 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.004709, allocations: 19.92 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.004728, allocations: 4 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.00477, allocations: 8 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.004839, allocations: 23.91 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.004873, allocations: 19.92 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.005022, allocations: 55.75 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005025, allocations: 8 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005026, allocations: 0 / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005031, allocations: 0 / 275.6 MB, free: 14.73 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.0004444/0.005476, allocations: 416.2 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.005512, allocations: 8.031 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.005649, allocations: 24.83 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.005837, allocations: 152.9 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.005859, allocations: 8.375 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00587, allocations: 4.375 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.006178, allocations: 161.2 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006188, allocations: 3.938 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006198, allocations: 0 / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.006206, allocations: 0 / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.006255, allocations: 19.92 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.006536, allocations: 279.2 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.006633, allocations: 101.2 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.006685, allocations: 39.19 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.006703, allocations: 3.984 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.006727, allocations: 37.39 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.006729, allocations: 3.938 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002088/0.006937, allocations: 77.58 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.007, allocations: 110.8 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.00712, allocations: 201.1 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.007133, allocations: 33.7 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.007186, allocations: 139.1 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.007206, allocations: 15.89 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.007245, allocations: 19.38 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.007378, allocations: 0.4923 MB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.007395, allocations: 0 / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.007424, allocations: 39 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.007474, allocations: 42.98 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007476, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.283e-05/0.007568, allocations: 65.58 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007581, allocations: 4 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007587, allocations: 3.984 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.007602, allocations: 4 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.007672, allocations: 7.938 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.007677, allocations: 0 / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.007703, allocations: 4 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.00771, allocations: 3.984 kB / 278.1 MB, free: 11.95 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 8.128e-05/0.007791, allocations: 168.5 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.007878, allocations: 65.69 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.007912, allocations: 20.39 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007914, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.007919, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007923, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.008061, allocations: 140.5 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008062, allocations: 448 / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.008103, allocations: 8 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008107, allocations: 4 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.008117, allocations: 4 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-05/0.008164, allocations: 3.984 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.008167, allocations: 8.031 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.008318, allocations: 239.1 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.008354, allocations: 15.94 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.008377, allocations: 4 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.008429, allocations: 4 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.008457, allocations: 4 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.008462, allocations: 3.984 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000386/0.008848, allocations: 143.2 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008848, allocations: 0 / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000245/0.009093, allocations: 12 kB / 278.9 MB, free: 11.03 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 9.343e-05/0.009187, allocations: 103.2 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.009295, allocations: 31.67 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009297, allocations: 0 / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.009315, allocations: 19.61 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.009658, allocations: 42.14 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.01026, allocations: 215.6 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01036, allocations: 67.34 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.606e-05/0.01039, allocations: 3.984 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.01042, allocations: 12.5 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01043, allocations: 0 / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002924/0.01335, allocations: 0.9428 MB / 280.4 MB, free: 9.543 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: 2.7665649000555277]