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.00139/0.00139, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.91 kB / 306.9 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09506, allocations: 50.52 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004154/0.09927, allocations: 1.667 MB / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1005, allocations: 0.6077 MB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1006, allocations: 4 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.1009, allocations: 15.92 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.101, allocations: 11.88 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1014, allocations: 67.36 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1015, allocations: 59.84 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1016, allocations: 23.97 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1018, allocations: 35.78 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1019, allocations: 35.84 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1019, allocations: 4 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.102, allocations: 4 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.102, allocations: 15.92 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1021, allocations: 35.73 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1022, allocations: 55.91 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1022, allocations: 0 / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1022, allocations: 0 / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1023, allocations: 0 / 360.1 MB, free: 11.86 MB / 302.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.0005197/0.1028, allocations: 397.6 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1028, allocations: 11.97 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.103, allocations: 24.73 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1032, allocations: 200.1 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1032, allocations: 4.375 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1033, allocations: 4.125 kB / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.1036, allocations: 161.7 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1037, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1037, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1037, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1038, allocations: 35.92 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1042, allocations: 282.6 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1043, allocations: 75.84 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1044, allocations: 50.61 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1045, allocations: 7.938 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1045, allocations: 34.55 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1045, allocations: 3.938 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003165/0.1048, allocations: 105.5 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.1049, allocations: 119 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1051, allocations: 146.4 kB / 361.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1051, allocations: 29.7 kB / 361.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1052, allocations: 88.14 kB / 361.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1052, allocations: 15.89 kB / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1052, allocations: 21.62 kB / 361.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1054, allocations: 326.8 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.1054, allocations: 19.98 kB / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.1055, allocations: 58 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1057, allocations: 81.88 kB / 362.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1057, allocations: 4 kB / 362.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001903/0.1059, allocations: 105.5 kB / 362.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1059, allocations: 8 kB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1059, allocations: 0 / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1059, allocations: 4 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.106, allocations: 19.92 kB / 362.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1061, allocations: 0 / 362.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1061, allocations: 11.94 kB / 362.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1061, allocations: 4 kB / 362.5 MB, free: 9.125 MB / 302.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.0001764/0.1063, allocations: 129.8 kB / 362.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1064, allocations: 77.53 kB / 362.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1065, allocations: 12.31 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1065, allocations: 0 / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1065, allocations: 0 / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1065, allocations: 8.25 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.1067, allocations: 173.6 kB / 362.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1067, allocations: 4 kB / 362.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.1068, allocations: 15.98 kB / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1068, allocations: 4 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1068, allocations: 8.016 kB / 362.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1068, allocations: 3.938 kB / 362.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1068, allocations: 0 / 362.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1071, allocations: 201.1 kB / 363.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.1072, allocations: 96.91 kB / 363.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1072, allocations: 4.188 kB / 363.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1073, allocations: 8 kB / 363.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1073, allocations: 7.922 kB / 363.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1073, allocations: 11.88 kB / 363.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.1074, allocations: 114.8 kB / 363.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1074, allocations: 0 / 363.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1077, allocations: 12 kB / 363.4 MB, free: 8.145 MB / 302.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.0001253/0.1078, allocations: 99.19 kB / 363.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.108, allocations: 59.91 kB / 363.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.108, allocations: 4 kB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.1081, allocations: 4 kB / 363.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1084, allocations: 39.94 kB / 363.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.109, allocations: 268.9 kB / 363.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1093, allocations: 0.7043 MB / 364.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1094, allocations: 15.42 kB / 364.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1094, allocations: 0 / 364.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of Templates: time 0.002778/0.1122, allocations: 1.095 MB / 365.6 MB, free: 5.801 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/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