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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3767, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002735/0.3794, allocations: 1.616 MB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3805, allocations: 0.5998 MB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3806, allocations: 7.875 kB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3809, allocations: 19.86 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.3809, allocations: 11.92 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3812, allocations: 79.73 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3814, allocations: 71.77 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.3815, allocations: 12 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3816, allocations: 39.78 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3818, allocations: 31.84 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3818, allocations: 4 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.3818, allocations: 8 kB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.3819, allocations: 19.92 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.382, allocations: 39.73 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3821, allocations: 71.72 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3821, allocations: 3.984 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3821, allocations: 0 / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3822, allocations: 0 / 411.9 MB, free: 14.95 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.0004747/0.3826, allocations: 392.2 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3827, allocations: 8.031 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3828, allocations: 20.83 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.3831, allocations: 213.7 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3831, allocations: 384 / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3831, allocations: 12.12 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3835, allocations: 137.9 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3835, allocations: 4 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3835, allocations: 8 kB / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3835, allocations: 0 / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3836, allocations: 31.91 kB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.384, allocations: 290.5 kB / 413 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3841, allocations: 79.78 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.3842, allocations: 54.67 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3842, allocations: 0 / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3843, allocations: 42.55 kB / 413.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3843, allocations: 0 / 413.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003189/0.3846, allocations: 113.4 kB / 413.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3847, allocations: 110.8 kB / 413.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3848, allocations: 149.8 kB / 413.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3848, allocations: 25.7 kB / 413.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.3849, allocations: 100.3 kB / 413.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3849, allocations: 3.906 kB / 413.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.385, allocations: 25.7 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3851, allocations: 326.7 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.3851, allocations: 16 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.3852, allocations: 65.98 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3854, allocations: 81.88 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3854, allocations: 256 / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001947/0.3856, allocations: 109.4 kB / 414.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3856, allocations: 4 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3856, allocations: 8 kB / 414.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3857, allocations: 0 / 414.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.3858, allocations: 16.16 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3858, allocations: 11.98 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.3858, allocations: 7.938 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3859, allocations: 4 kB / 414.3 MB, free: 12.2 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.0001085/0.386, allocations: 125.8 kB / 414.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3861, allocations: 73.42 kB / 414.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.3862, allocations: 12.31 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3862, allocations: 4 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3862, allocations: 0 / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3862, allocations: 7.969 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3864, allocations: 181.6 kB / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3864, allocations: 0 / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.3865, allocations: 19.92 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3865, allocations: 0 / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3865, allocations: 4 kB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3865, allocations: 0 / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3865, allocations: 0 / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3867, allocations: 201.1 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.3868, allocations: 96.98 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3868, allocations: 4 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3869, allocations: 4 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.387, allocations: 0 / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.387, allocations: 11.94 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.863e-05/0.3871, allocations: 111.2 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3871, allocations: 4.188 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3873, allocations: 12 kB / 415.2 MB, free: 11.23 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.000137/0.3875, allocations: 110.8 kB / 415.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3876, allocations: 55.84 kB / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3877, allocations: 0 / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.3877, allocations: 12.44 kB / 415.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3881, allocations: 52.25 kB / 415.4 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.3886, allocations: 209 kB / 415.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.389, allocations: 0.7078 MB / 416.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.235e-05/0.3891, allocations: 8.531 kB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3891, allocations: 15.42 kB / 416.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3891, allocations: 0 / 416.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of Templates: time 0.00416/0.3933, allocations: 0.8419 MB / 417.2 MB, free: 9.176 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches