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.00167/0.00167, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001951/0.001951, allocations: 182.1 kB / 23.7 MB, free: 4.414 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.5/1.5, allocations: 225.7 MB / 252.5 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.001594/0.001594, allocations: 51.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2755, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003097/0.2786, allocations: 1.619 MB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.2796, allocations: 0.4987 MB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.2797, allocations: 3.938 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.2799, allocations: 19.86 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.28, allocations: 19.84 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2803, allocations: 51.83 kB / 425.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2805, allocations: 71.77 kB / 425.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.2806, allocations: 19.97 kB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.2807, allocations: 27.92 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2808, allocations: 31.84 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2808, allocations: 4 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.2808, allocations: 4 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.2809, allocations: 19.92 kB / 425.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.2809, allocations: 23.8 kB / 425.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.2811, allocations: 77.84 kB / 425.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2811, allocations: 0 / 425.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2811, allocations: 0 / 425.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2811, allocations: 8 kB / 425.6 MB, free: 11.98 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.0005283/0.2816, allocations: 309.9 kB / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2817, allocations: 8.031 kB / 425.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.2817, allocations: 16.88 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.282, allocations: 146 kB / 426 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.282, allocations: 4.375 kB / 426 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.282, allocations: 8.125 kB / 426 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2824, allocations: 153.8 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2824, allocations: 0 / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2824, allocations: 4 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2824, allocations: 4 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2825, allocations: 35.89 kB / 426.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2828, allocations: 218.3 kB / 426.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.283, allocations: 75.72 kB / 426.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.2831, allocations: 46.69 kB / 426.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2831, allocations: 7.984 kB / 426.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2831, allocations: 42.5 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2831, allocations: 0 / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003324/0.2835, allocations: 109.5 kB / 426.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.2836, allocations: 106.8 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2837, allocations: 149.8 kB / 427 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2837, allocations: 25.7 kB / 427 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.2838, allocations: 100.3 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2838, allocations: 7.953 kB / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.2838, allocations: 25.7 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.284, allocations: 326.8 kB / 427.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.2841, allocations: 12 kB / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.2841, allocations: 65.98 kB / 427.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2843, allocations: 82.12 kB / 427.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2843, allocations: 0 / 427.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00022/0.2845, allocations: 113.5 kB / 427.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2845, allocations: 4 kB / 427.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2845, allocations: 4 kB / 427.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2845, allocations: 224 / 427.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2846, allocations: 16 kB / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.2847, allocations: 11.92 kB / 427.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.2847, allocations: 11.89 kB / 427.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.2847, allocations: 4 kB / 427.8 MB, free: 9.504 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.0001176/0.2849, allocations: 129.8 kB / 427.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.285, allocations: 69.56 kB / 428 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.285, allocations: 12.41 kB / 428 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.285, allocations: 4 kB / 428 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.285, allocations: 0 / 428 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.285, allocations: 4.031 kB / 428 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2852, allocations: 125.2 kB / 428.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2852, allocations: 0 / 428.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.2852, allocations: 12 kB / 428.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2853, allocations: 0 / 428.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2853, allocations: 3.984 kB / 428.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2853, allocations: 4 kB / 428.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2853, allocations: 192 / 428.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2855, allocations: 201.1 kB / 428.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.2856, allocations: 23.88 kB / 428.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2856, allocations: 4 kB / 428.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.2857, allocations: 8 kB / 428.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.2857, allocations: 3.984 kB / 428.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2857, allocations: 4 kB / 428.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.2858, allocations: 117.1 kB / 428.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2858, allocations: 3.938 kB / 428.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.2861, allocations: 15.95 kB / 428.5 MB, free: 8.703 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.0001121/0.2862, allocations: 99.19 kB / 428.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2864, allocations: 59.84 kB / 428.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2864, allocations: 0 / 428.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.2864, allocations: 11.98 kB / 428.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2868, allocations: 44.2 kB / 428.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.2873, allocations: 213 kB / 428.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.2874, allocations: 87.77 kB / 429 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.2874, allocations: 16.64 kB / 429 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.2875, allocations: 11.44 kB / 429 MB, free: 8.109 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2875, allocations: 0 / 429 MB, free: 8.109 MB / 334.1 MB Notification: Performance of Templates: time 0.003814/0.2913, allocations: 0.9534 MB / 430 MB, free: 7.176 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/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: 4.590314604341984]