Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002296/0.002296, allocations: 109.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002834/0.002834, allocations: 216.6 kB / 23 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 230.2 MB / 256.2 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003119/0.003119, allocations: 63.89 kB / 376.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3777, allocations: 53.32 MB / 429.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004201/0.3819, allocations: 1.636 MB / 431.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3835, allocations: 0.6154 MB / 432.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3836, allocations: 4 kB / 432.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3839, allocations: 15.86 kB / 432.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.384, allocations: 15.86 kB / 432.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3844, allocations: 71.81 kB / 432.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3846, allocations: 71.81 kB / 432.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3847, allocations: 8 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3849, allocations: 47.77 kB / 432.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3851, allocations: 31.86 kB / 432.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.3851, allocations: 4 kB / 432.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.3852, allocations: 4 kB / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.3852, allocations: 19.92 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3853, allocations: 39.73 kB / 432.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3855, allocations: 76.91 kB / 432.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3855, allocations: 0 / 432.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3855, allocations: 0 / 432.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3855, allocations: 7.938 kB / 432.5 MB, free: 4.918 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.0007231/0.3863, allocations: 394.9 kB / 432.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3863, allocations: 8.031 kB / 432.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.3865, allocations: 24.78 kB / 432.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3869, allocations: 200.2 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3869, allocations: 8.375 kB / 433.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3869, allocations: 12.12 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.3873, allocations: 153.8 kB / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3873, allocations: 0 / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3873, allocations: 0 / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3873, allocations: 4 kB / 433.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3874, allocations: 35.92 kB / 433.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.3878, allocations: 278.5 kB / 433.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.388, allocations: 83.7 kB / 433.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.3881, allocations: 46.75 kB / 433.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3881, allocations: 3.984 kB / 433.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.3882, allocations: 42.5 kB / 433.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3882, allocations: 0 / 433.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003287/0.3885, allocations: 109.6 kB / 433.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.3886, allocations: 110.8 kB / 433.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3888, allocations: 146.4 kB / 434.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3888, allocations: 29.64 kB / 434.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.3889, allocations: 92.14 kB / 434.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3889, allocations: 7.938 kB / 434.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.3889, allocations: 25.88 kB / 434.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3891, allocations: 322.8 kB / 434.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.3891, allocations: 23.92 kB / 434.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.3892, allocations: 58 kB / 434.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3894, allocations: 86.12 kB / 434.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3894, allocations: 0 / 434.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000198/0.3896, allocations: 117.4 kB / 434.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3896, allocations: 4 kB / 434.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3896, allocations: 4 kB / 434.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3896, allocations: 0 / 434.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3897, allocations: 16.23 kB / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3897, allocations: 4 kB / 434.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.3898, allocations: 11.94 kB / 434.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3898, allocations: 12.16 kB / 434.9 MB, free: 2.168 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.0001167/0.3899, allocations: 125.8 kB / 435 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.39, allocations: 73.53 kB / 435.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.39, allocations: 16.31 kB / 435.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3901, allocations: 4 kB / 435.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3901, allocations: 3.984 kB / 435.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3901, allocations: 3.938 kB / 435.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3903, allocations: 173.6 kB / 435.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3903, allocations: 3.984 kB / 435.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.3904, allocations: 16.03 kB / 435.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3904, allocations: 0 / 435.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3904, allocations: 4 kB / 435.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3904, allocations: 0 / 435.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3904, allocations: 3.984 kB / 435.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3906, allocations: 201.1 kB / 435.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.3907, allocations: 93.05 kB / 435.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3907, allocations: 4 kB / 435.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.3908, allocations: 4 kB / 435.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3908, allocations: 7.984 kB / 435.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3908, allocations: 3.938 kB / 435.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.3909, allocations: 118.6 kB / 435.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 435.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3912, allocations: 19.95 kB / 435.7 MB, free: 1.195 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.0001615/0.3914, allocations: 103.2 kB / 435.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.3916, allocations: 55.84 kB / 435.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3916, allocations: 0 / 435.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.3916, allocations: 11.98 kB / 435.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3921, allocations: 40 kB / 436 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.3927, allocations: 233.2 kB / 436.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.3931, allocations: 0.7002 MB / 436.9 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.3932, allocations: 8.672 kB / 436.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.3932, allocations: 11.44 kB / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3932, allocations: 0 / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003909/0.3971, allocations: 0.8818 MB / 437.8 MB, free: 15.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.928185812197626]