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.001095/0.001095, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001149/0.001149, allocations: 142.1 kB / 24.97 MB, free: 8.316 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 0.9859/0.9859, allocations: 173.3 MB / 201.5 MB, free: 9.312 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 1.242e-06/1.242e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.777e-05/3.901e-05, allocations: 10.25 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002086/0.002125, allocations: 1.65 MB / 269.7 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.002828, allocations: 0.5374 MB / 270.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.002912, allocations: 3.938 kB / 270.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.00315, allocations: 11.88 kB / 270.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.003206, allocations: 23.84 kB / 270.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003439, allocations: 59.69 kB / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003549, allocations: 59.78 kB / 270.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.003644, allocations: 15.98 kB / 270.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.003721, allocations: 31.91 kB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.003804, allocations: 27.95 kB / 270.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.003824, allocations: 8 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.003834, allocations: 4 kB / 270.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.003897, allocations: 19.92 kB / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.003932, allocations: 19.92 kB / 270.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.004053, allocations: 63.62 kB / 270.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004055, allocations: 0 / 270.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004057, allocations: 0 / 270.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004061, allocations: 0 / 270.6 MB, free: 4.141 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.0003892/0.00445, allocations: 412.2 kB / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.004485, allocations: 8.031 kB / 271 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.004526, allocations: 16.89 kB / 271 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.004695, allocations: 147.8 kB / 271.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.004718, allocations: 12.31 kB / 271.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.00473, allocations: 4.375 kB / 271.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.004994, allocations: 157.2 kB / 271.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005001, allocations: 3.938 kB / 271.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.00501, allocations: 0 / 271.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005018, allocations: 4 kB / 271.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.005055, allocations: 15.94 kB / 271.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.005317, allocations: 283.1 kB / 271.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.005398, allocations: 97.17 kB / 271.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.00544, allocations: 39.19 kB / 271.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.005456, allocations: 0 / 271.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005477, allocations: 41.33 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005478, allocations: 0 / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001686/0.005646, allocations: 85.75 kB / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.005699, allocations: 110.8 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.005788, allocations: 197.9 kB / 272.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.005798, allocations: 29.7 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.005841, allocations: 138.7 kB / 272.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.005856, allocations: 7.953 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.005888, allocations: 27.36 kB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.005993, allocations: 496.1 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.006008, allocations: 4 kB / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.006031, allocations: 35.05 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.006071, allocations: 47 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.006074, allocations: 4.375 kB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.391e-05/0.006138, allocations: 57.58 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.00615, allocations: 8 kB / 273.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006154, allocations: 3.938 kB / 273.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.006166, allocations: 4 kB / 273.1 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.006235, allocations: 11.98 kB / 273.1 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.006239, allocations: 4.094 kB / 273.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.006258, allocations: 0 / 273.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.006261, allocations: 4 kB / 273.1 MB, free: 1.375 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 6.607e-05/0.006328, allocations: 168.5 kB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.006386, allocations: 69.53 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.006414, allocations: 12.47 kB / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006416, allocations: 0 / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.006419, allocations: 0 / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.006424, allocations: 7.984 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.006528, allocations: 132.5 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00653, allocations: 8.031 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.006563, allocations: 15.92 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006564, allocations: 0 / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.006573, allocations: 4 kB / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006574, allocations: 0 / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006574, allocations: 0 / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.00669, allocations: 231.2 kB / 273.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.006718, allocations: 19.94 kB / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.006735, allocations: 0 / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.006769, allocations: 7.984 kB / 273.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.0068, allocations: 4 kB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.006804, allocations: 8 kB / 273.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.006856, allocations: 154.3 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006856, allocations: 0 / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.007001, allocations: 12 kB / 273.9 MB, free: 468 kB / 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 6.352e-05/0.007064, allocations: 95.25 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.007147, allocations: 35.61 kB / 274 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007148, allocations: 0 / 274 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.007159, allocations: 7.688 kB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.007419, allocations: 49.67 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.007946, allocations: 215.8 kB / 274.3 MB, free: 0 / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.007998, allocations: 71.33 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.149e-05/0.00802, allocations: 0 / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.008047, allocations: 16.44 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008047, allocations: 0 / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Templates: time 0.002469/0.01052, allocations: 0.8902 MB / 275.3 MB, free: 15.02 MB / 266.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.8141036161687225]