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.001018/0.001018, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009948/0.0009948, allocations: 143.9 kB / 24.89 MB, free: 8.785 MB / 18.57 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.052/1.052, allocations: 173.4 MB / 201.5 MB, free: 8.262 MB / 186.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 2.224e-06/2.224e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.014e-05, allocations: 5.266 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003204/0.003234, allocations: 1.692 MB / 270.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004308, allocations: 0.5393 MB / 270.8 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.004396, allocations: 0 / 270.8 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.00464, allocations: 21.14 kB / 270.8 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.004717, allocations: 11.88 kB / 270.8 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.005017, allocations: 63.73 kB / 270.8 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.005153, allocations: 60.38 kB / 270.9 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.00525, allocations: 12.58 kB / 270.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.005376, allocations: 41.86 kB / 271 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005483, allocations: 31.84 kB / 271 MB, free: 7.289 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.005507, allocations: 7.984 kB / 271 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.005521, allocations: 4 kB / 271 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.005594, allocations: 23.92 kB / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.005631, allocations: 11.94 kB / 271 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005775, allocations: 60.23 kB / 271.1 MB, free: 7.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005777, allocations: 1.656 kB / 271.1 MB, free: 7.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005778, allocations: 4 kB / 271.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005782, allocations: 0 / 271.1 MB, free: 7.18 MB / 250.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.000407/0.006189, allocations: 280.5 kB / 271.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.006227, allocations: 9.031 kB / 271.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.006264, allocations: 20.92 kB / 271.4 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006453, allocations: 142.9 kB / 271.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.006472, allocations: 9.062 kB / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.006481, allocations: 384 / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.00673, allocations: 143.8 kB / 271.7 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006741, allocations: 3.938 kB / 271.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.00675, allocations: 4 kB / 271.7 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006758, allocations: 0 / 271.7 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.006797, allocations: 10.83 kB / 271.7 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.007036, allocations: 168.8 kB / 271.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.007136, allocations: 67.7 kB / 271.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.00718, allocations: 26.77 kB / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.007197, allocations: 0 / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.007232, allocations: 46.48 kB / 272 MB, free: 6.129 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.007233, allocations: 0 / 272 MB, free: 6.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.000159/0.007392, allocations: 65.56 kB / 272.1 MB, free: 6.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.007479, allocations: 114.7 kB / 272.2 MB, free: 5.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.007601, allocations: 136.7 kB / 272.3 MB, free: 5.777 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.007614, allocations: 29.7 kB / 272.4 MB, free: 5.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.007665, allocations: 87.98 kB / 272.4 MB, free: 5.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.007694, allocations: 11.94 kB / 272.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.007733, allocations: 21.67 kB / 272.5 MB, free: 5.613 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.007861, allocations: 323.1 kB / 272.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.007876, allocations: 3.984 kB / 272.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.007908, allocations: 26.56 kB / 272.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.007967, allocations: 33.33 kB / 272.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00797, allocations: 0 / 272.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.39e-05/0.008054, allocations: 57.56 kB / 272.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.008074, allocations: 6.031 kB / 272.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.00808, allocations: 4.094 kB / 272.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.008096, allocations: 0 / 272.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.008168, allocations: 8 kB / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.008177, allocations: 7.922 kB / 272.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.008204, allocations: 4 kB / 272.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.00821, allocations: 0 / 272.9 MB, free: 5.117 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 9.896e-05/0.008309, allocations: 116.7 kB / 273 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.008385, allocations: 53.94 kB / 273.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.008426, allocations: 16.52 kB / 273.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.008429, allocations: 4 kB / 273.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.008433, allocations: 4.031 kB / 273.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.008439, allocations: 4 kB / 273.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.008589, allocations: 81.88 kB / 273.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008591, allocations: 0 / 273.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.008648, allocations: 15.98 kB / 273.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008649, allocations: 0 / 273.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008659, allocations: 3.938 kB / 273.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.008663, allocations: 4 kB / 273.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008664, allocations: 0 / 273.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.008781, allocations: 148 kB / 273.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.008822, allocations: 23.92 kB / 273.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.008849, allocations: 11.92 kB / 273.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.008903, allocations: 0 / 273.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.008933, allocations: 3.938 kB / 273.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.008937, allocations: 4 kB / 273.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.00898, allocations: 35.08 kB / 273.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00898, allocations: 0 / 273.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.00919, allocations: 8 kB / 273.5 MB, free: 4.527 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 9.835e-05/0.009288, allocations: 80.41 kB / 273.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.009381, allocations: 28.8 kB / 273.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.009385, allocations: 4 kB / 273.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.009404, allocations: 12.83 kB / 273.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009702, allocations: 37.03 kB / 273.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.01038, allocations: 250.1 kB / 273.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.01045, allocations: 67.34 kB / 273.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.01048, allocations: 16.22 kB / 273.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.01056, allocations: 63.38 kB / 274 MB, free: 3.898 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01056, allocations: 0 / 274 MB, free: 3.898 MB / 250.7 MB Notification: Performance of Templates: time 0.003785/0.01435, allocations: 0.9374 MB / 274.9 MB, free: 2.992 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 -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.782482524868101]