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.001114/0.001114, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002624, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009973/0.0009973, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001997, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9841/0.9841, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0906/1.075, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.345e-05, allocations: 2.875 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003027/0.003051, allocations: 1.7 MB / 241.3 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000843/0.003894, allocations: 0.535 MB / 241.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.003969, allocations: 3.938 kB / 241.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.004092, allocations: 15.88 kB / 241.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.004156, allocations: 23.84 kB / 241.8 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.004439, allocations: 59.69 kB / 241.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.004575, allocations: 63.77 kB / 242 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.004665, allocations: 19.94 kB / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.004782, allocations: 39.95 kB / 242 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.004891, allocations: 27.91 kB / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.004916, allocations: 4 kB / 242 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.004929, allocations: 4 kB / 242 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.004999, allocations: 11.94 kB / 242.1 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.005047, allocations: 15.94 kB / 242.1 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.005175, allocations: 59.64 kB / 242.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828e-05/0.005193, allocations: 4 kB / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005194, allocations: 0 / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.005214, allocations: 0 / 242.1 MB, free: 0.582 MB / 234.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.0005165/0.005731, allocations: 304.2 kB / 242.4 MB, free: 268 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005767, allocations: 8.031 kB / 242.4 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.005812, allocations: 12.92 kB / 242.5 MB, free: 248 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006007, allocations: 149.3 kB / 242.6 MB, free: 76 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.006027, allocations: 4.375 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.006038, allocations: 8.375 kB / 242.6 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.00629, allocations: 143 kB / 242.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.006299, allocations: 3.938 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.006306, allocations: 0 / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.006314, allocations: 4 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.006356, allocations: 14.77 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.006552, allocations: 160.9 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.006631, allocations: 71.84 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.006675, allocations: 22.64 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.006696, allocations: 4 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.006724, allocations: 46.42 kB / 243.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006725, allocations: 0 / 243.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001617/0.006887, allocations: 57.62 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.006956, allocations: 118.7 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.007054, allocations: 138.6 kB / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.007068, allocations: 25.7 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.007102, allocations: 92.39 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.007122, allocations: 15.86 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.007155, allocations: 17.67 kB / 243.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.007248, allocations: 318.8 kB / 243.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.007261, allocations: 7.984 kB / 243.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.007286, allocations: 26.52 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.007327, allocations: 33.33 kB / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007329, allocations: 384 / 243.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.536e-05/0.007405, allocations: 57.56 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.007418, allocations: 4 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.007426, allocations: 4 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.007434, allocations: 0 / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.007513, allocations: 12 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.007518, allocations: 3.984 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.007547, allocations: 0 / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007553, allocations: 4 kB / 244 MB, free: 14.5 MB / 250.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.865e-05/0.007641, allocations: 116.7 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.007718, allocations: 61.66 kB / 244.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.007753, allocations: 12.45 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.007757, allocations: 4 kB / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007759, allocations: 0 / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007762, allocations: 0 / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.007888, allocations: 77.88 kB / 244.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007889, allocations: 0 / 244.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.007944, allocations: 15.92 kB / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.007981, allocations: 19.88 kB / 244.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.007985, allocations: 4 kB / 244.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.007993, allocations: 7.984 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.007996, allocations: 8.016 kB / 244.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007997, allocations: 0 / 244.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.008086, allocations: 144.1 kB / 244.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.008107, allocations: 3.938 kB / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.008172, allocations: 8 kB / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.008193, allocations: 0 / 244.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.0082, allocations: 4 kB / 244.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.008236, allocations: 35.94 kB / 244.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008236, allocations: 0 / 244.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000201/0.008437, allocations: 8 kB / 244.5 MB, free: 13.91 MB / 250.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 8.474e-05/0.008522, allocations: 88.45 kB / 244.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.008609, allocations: 32.77 kB / 244.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.008614, allocations: 4 kB / 244.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.008627, allocations: 8.797 kB / 244.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.008895, allocations: 49.28 kB / 244.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.009893, allocations: 274.2 kB / 245 MB, free: 13.4 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.009944, allocations: 67.33 kB / 245 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.009975, allocations: 7.953 kB / 245 MB, free: 13.31 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.01004, allocations: 63.36 kB / 245.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01004, allocations: 0 / 245.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of Templates: time 0.003066/0.01311, allocations: 0.9443 MB / 246 MB, free: 12.32 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] 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","",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.5307696890085936]