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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 185.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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=5017,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=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.92 kB / 371.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003005/0.262, allocations: 1.62 MB / 425.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.263, allocations: 0.5065 MB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.2631, allocations: 3.938 kB / 426 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.2633, allocations: 19.86 kB / 426 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.2634, allocations: 11.86 kB / 426 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.2637, allocations: 63.81 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.2638, allocations: 63.77 kB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.2639, allocations: 15.98 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.264, allocations: 31.92 kB / 426.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.2641, allocations: 35.83 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2641, allocations: 7.938 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2641, allocations: 4 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.2642, allocations: 15.92 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.2642, allocations: 19.88 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2644, allocations: 78.27 kB / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2644, allocations: 0 / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2644, allocations: 0 / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2644, allocations: 0 / 426.3 MB, free: 12 MB / 334.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.0004974/0.2649, allocations: 325.8 kB / 426.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2649, allocations: 8.031 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.2649, allocations: 8.891 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2652, allocations: 146.9 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2652, allocations: 4.375 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2652, allocations: 8.125 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.2656, allocations: 153.8 kB / 427 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2656, allocations: 7.938 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2656, allocations: 0 / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2656, allocations: 0 / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2657, allocations: 35.91 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.266, allocations: 222.3 kB / 427.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2662, allocations: 79.83 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.2663, allocations: 38.62 kB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2663, allocations: 0 / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2663, allocations: 46.5 kB / 427.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2663, allocations: 0 / 427.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003195/0.2667, allocations: 113.5 kB / 427.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.2667, allocations: 106.8 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2669, allocations: 152.9 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2669, allocations: 25.7 kB / 427.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.267, allocations: 96.08 kB / 427.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.267, allocations: 7.938 kB / 427.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.267, allocations: 21.97 kB / 427.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2672, allocations: 326.8 kB / 428.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.2672, allocations: 19.98 kB / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.2673, allocations: 62 kB / 428.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2674, allocations: 81.88 kB / 428.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2675, allocations: 0 / 428.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001978/0.2676, allocations: 105.5 kB / 428.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2677, allocations: 8 kB / 428.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2677, allocations: 0 / 428.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2677, allocations: 4 kB / 428.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.2678, allocations: 15.98 kB / 428.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2678, allocations: 8.156 kB / 428.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.2678, allocations: 11.89 kB / 428.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.2679, allocations: 4 kB / 428.5 MB, free: 9.523 MB / 334.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.0001164/0.268, allocations: 129.8 kB / 428.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2681, allocations: 69.58 kB / 428.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.2681, allocations: 12.59 kB / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2681, allocations: 0 / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2681, allocations: 7.938 kB / 428.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2681, allocations: 7.969 kB / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2683, allocations: 125.2 kB / 428.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2683, allocations: 4.031 kB / 428.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.2684, allocations: 11.98 kB / 428.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2684, allocations: 4 kB / 428.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2684, allocations: 4 kB / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2684, allocations: 0 / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2684, allocations: 4 kB / 428.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2686, allocations: 197.1 kB / 429.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.2687, allocations: 20.25 kB / 429.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.2687, allocations: 7.984 kB / 429.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.2688, allocations: 12 kB / 429.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.2688, allocations: 0 / 429.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2688, allocations: 4 kB / 429.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.2689, allocations: 114.4 kB / 429.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2689, allocations: 0 / 429.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.2692, allocations: 19.95 kB / 429.3 MB, free: 8.715 MB / 334.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.0001299/0.2693, allocations: 99.19 kB / 429.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.2695, allocations: 60.22 kB / 429.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2695, allocations: 4.062 kB / 429.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.2695, allocations: 7.984 kB / 429.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.2699, allocations: 39.33 kB / 429.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.2704, allocations: 246.7 kB / 429.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.2705, allocations: 87.17 kB / 429.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.2706, allocations: 11.44 kB / 429.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2706, allocations: 4.156 kB / 429.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of Templates: time 0.002694/0.2733, allocations: 1.111 MB / 430.9 MB, free: 7.008 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1692478260956705]